Source code for crypto_enigma.exceptions

#!/usr/bin/env python
# encoding: utf8

# Copyright (C) 2016 by Roy Levien.
# This file is part of crypto-enigma, an Enigma Machine simulator.
# released under the BSD-3 License (see LICENSE.txt).

"""
This module defines some placeholders for custom exceptions and errors.

"""


from __future__ import (absolute_import, print_function, division, unicode_literals)


# Placeholder exceptions
[docs]class EnigmaError(Exception): pass
[docs]class EnigmaValueError(EnigmaError, ValueError): pass
[docs]class EnigmaDisplayError(EnigmaError): pass