in confidence/errors.py [0:0]
def __init__(self, error_message: typing.Optional[str] = None):
"""
Constructor for the GeneralError. The error code for this type of exception
is ErrorCode.GENERAL.
@param error_message: an optional string message representing why the error
has been raised
"""
super().__init__(ErrorCode.GENERAL, error_message)