This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/szurubooru/services/errors.py

9 lines
196 B
Python

''' Exports custom errors. '''
class AuthError(RuntimeError):
''' Generic authentication error '''
pass
class IntegrityError(RuntimeError):
''' Database integrity error '''
pass