CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
utils_v2.ComparisonError Class Reference
Inheritance diagram for utils_v2.ComparisonError:
Exception

Public Member Functions

def __init__ (self, error_message, args, kwargs)
 
def __str__ (self)
 

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.

290  def __init__(self, error_message, *args, **kwargs):
291  self.error_message = error_message
292  self.error_code = comparison_errors[error_message]
293 
def __init__(self, error_message, args, kwargs)
Definition: utils_v2.py:290

Member Function Documentation

def utils_v2.ComparisonError.__str__ (   self)

Definition at line 294 of file utils_v2.py.

References utils_v2.ComparisonError.error_code.

294  def __str__(self):
295  return 'Comparison Error: %d' % self.error_code
296 
297 

Member Data Documentation

utils_v2.ComparisonError.error_code

Definition at line 292 of file utils_v2.py.

Referenced by utils_v2.ComparisonError.__str__().

utils_v2.ComparisonError.error_message

Definition at line 291 of file utils_v2.py.