def __init__(self, error_code: ErrorCode, message: str):
super().__init__(message)<EOL>self.error_code = error_code<EOL>self.message = message<EOL>
Initialize on code and message.

:param error_code: error code
:param message: error message