Error data.
    |  | 
        
          | __init__(self,
        code,
        message) Create an error object.
 |  |  | 
    |  | 
        
          | set(self,
        code,
        message) Set the error information.
 |  |  | 
    |  | 
        
          | code(self) Get the error code.
 |  |  | 
    |  | 
        
          | name(self) Get the readable string of the code.
 |  |  | 
    |  | 
        
          | message(self) Get the supplement message.
 |  |  | 
    |  | 
        
          | __repr__(self) Get the representing expression.
 |  |  | 
    |  | 
        
          | __str__(self) Get the string expression.
 |  |  | 
    |  | 
        
          | __cmp__(self,
        right) Generic comparison operator.
 |  |  | 
    |  | SUCCESS = 0error code: success.
 | 
    |  | NOIMPL = 1error code: not implemented.
 | 
    |  | INVALID = 2error code: invalid operation.
 | 
    |  | NOREPOS = 3error code: no repository.
 | 
    |  | NOPERM = 4error code: no permission.
 | 
    |  | BROKEN = 5error code: broken file.
 | 
    |  | DUPREC = 6error code: record duplication.
 | 
    |  | NOREC = 7error code: no record.
 | 
    |  | LOGIC = 8error code: logical inconsistency.
 | 
    |  | SYSTEM = 9error code: system error.
 | 
    |  | MISC = 15error code: miscellaneous error.
 |