@staticmethod<EOL><INDENT>def register_error_code(code, exception_type, domain='<STR_LIT>'):<DEDENT>
Logger._error_code_to_exception[code] = (exception_type, domain)<EOL>Logger._domain_codes[domain].add(code)<EOL>
Register a new error code