'Construct a :class:`ErrorCode` from supplied integer and error message.'

def __init__(self, code, default_error_message):

    self.code = code
    self.default_error_message = (default_error_message or UNKNOWN_ERROR_MESSAGE)
