Source code for risk_propagation.exceptions

"""
Collection of custom exceptions.
"""


[docs] class IncorrectStartException(Exception): """ Raised when the protocol is started in an incorrect state. """
[docs] class WrongDeserializationException(Exception): """ Raised when deserialization is done incorrectly. """