mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
11 lines
317 B
Python
11 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)
|