mirror of https://github.com/nocturn9x/giambio.git
15 lines
324 B
Python
15 lines
324 B
Python
class GiambioError(Exception):
|
|
"""Base class for gaimbio exceptions"""
|
|
pass
|
|
|
|
|
|
class AlreadyJoinedError(GiambioError):
|
|
pass
|
|
|
|
|
|
class CancelledError(GiambioError):
|
|
"""Exception raised as a result of the giambio.core.cancel() method"""
|
|
|
|
def __repr__(self):
|
|
return "giambio.exceptions.CancelledError"
|