def parse_error(self, payload):
raise NotImplementedError<EOL>
Parse the error message and api error code from payload.
Return them as an (error_msg, error_code) tuple. If unable to parse the
message, throw an exception and default error message will be used.