CMS 3D CMS Logo

Public Member Functions | Public Attributes

utils_v2::ComparisonError Class Reference

Inheritance diagram for utils_v2::ComparisonError:
Exception

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 error_code
 error_message

Detailed Description

Definition at line 289 of file utils_v2.py.


Constructor & Destructor Documentation

def utils_v2::ComparisonError::__init__ (   self,
  error_message,
  args,
  kwargs 
)

Definition at line 290 of file utils_v2.py.

00291                                                       :
00292         self.error_message = error_message
00293         self.error_code = comparison_errors[error_message]


Member Function Documentation

def utils_v2::ComparisonError::__str__ (   self)

Definition at line 294 of file utils_v2.py.

00295                      :
00296         return 'Comparison Error: %d' % self.error_code
00297 


Member Data Documentation

Definition at line 290 of file utils_v2.py.

Definition at line 290 of file utils_v2.py.