selfprivacy-rest-api/selfprivacy_api/repositories/tokens/exceptions.py

19 lines
354 B
Python

class TokenNotFoundError(Exception):
"""Token not found!"""
class RecoveryKeyNotFoundError(Exception):
"""Recovery key not found!"""
class MnemonicError(Exception):
"""Phrase is not mnemonic!"""
class RecoveryKeyIsNotValidError(Exception):
"""Recovery key is not valid!"""
class RecoveryTokenError(Exception):
"""Error ???"""