#NEWLINE# def __init__( self , code , message = None , details = None , request_id = None , url = None , method = None ) : #NEWLINE# #INDENT# self . code = code #NEWLINE# self . message = ( message or self . __class__ . message ) #NEWLINE# self . details = details #NEWLINE# self . request_id = request_id #NEWLINE# self . url = url #NEWLINE# self . method = url