#NEWLINE# def error_message( self ) : #NEWLINE# #INDENT# 'Returns a one-line description of the error.' #NEWLINE# output = ( ( self . msg + ', code ' ) + str ( self . code ) ) #NEWLINE# if ( output . name != self . __class__ . __name__ ) : #NEWLINE# #INDENT# output = ( ( self . name + ': ' ) + output ) #NEWLINE# #UNINDENT# return output