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

15 lines
280 B
Python
Raw Normal View History

class TokenNotFound(Exception):
"""Token not found!"""
class RecoveryKeyNotFound(Exception):
"""Recovery key not found!"""
class InvalidMnemonic(Exception):
"""Phrase is not mnemonic!"""
class NewDeviceKeyNotFound(Exception):
"""New device key not found!"""