mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
12 lines
317 B
Python
12 lines
317 B
Python
|
|
"""
|
||
|
|
This module contains exceptions used throughout the server
|
||
|
|
"""
|
||
|
|
class GenericException(Exception):
|
||
|
|
"""
|
||
|
|
The custom exception class from which all other exceptions are derived.
|
||
|
|
"""
|
||
|
|
def __init__(self, value):
|
||
|
|
self.value = value
|
||
|
|
def __str__(self):
|
||
|
|
return repr(self.value)
|