9 lines
196 B
Python
9 lines
196 B
Python
''' Exports custom errors. '''
|
|
|
|
class AuthError(RuntimeError):
|
|
''' Generic authentication error '''
|
|
pass
|
|
|
|
class IntegrityError(RuntimeError):
|
|
''' Database integrity error '''
|
|
pass
|