#NEWLINE# def add_error( self , error ) : #NEWLINE# #INDENT# '\n        Attach an exception to this transfer rather than data.\n        ' #NEWLINE# assert isinstance ( error , Exception ) #NEWLINE# self . _error = error