def __init__(self, response=None, error=None, data=None, url=None,<EOL>message=None):
self.response = response<EOL>self.data = data<EOL>self.error = error<EOL>self.url = url<EOL>if not message:<EOL><INDENT>message = self.get_message()<EOL><DEDENT>if url:<EOL><INDENT>message += "<STR_LIT>" + url<EOL><DEDENT>super().__init__(message)<EOL>
Add the response and data attributes

Extract message from the error if not explicitly given