holgern/beem

View on GitHub
beemstorage/exceptions.py

Summary

Maintainability
A
0 mins
Test Coverage
# -*- coding: utf-8 -*-
# Inspired by https://raw.githubusercontent.com/xeroc/python-graphenelib/master/graphenestorage/exceptions.py
class WalletLocked(Exception):
    pass


class WrongMasterPasswordException(Exception):
    """ The password provided could not properly unlock the wallet
    """

    pass


class KeyAlreadyInStoreException(Exception):
    """ The key of a key/value pair is already in the store
    """

    pass