mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 23:06:31 +01:00
12 lines
300 B
Python
12 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)
|