mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 13:26:30 +01:00
11 lines
300 B
Python
11 lines
300 B
Python
"""
|
|
Exceptions for the object application.
|
|
"""
|
|
from src.exceptions_generic import GenericException
|
|
|
|
class ObjectNotExist(GenericException):
|
|
"""
|
|
Raised when an object is queried for but does not exist.
|
|
"""
|
|
def __str__(self):
|
|
return repr("No such object: %s" % self.value)
|