lib.common.errors

Package lib :: Package common :: Module errors |
[hide private]
[frames] | no frames]

# Module errors

source code

Functions | [hide private]
get_error_string(error_code) Error code lookup. | source code

Variables | [hide private]
| ERRORS = ``{`0`:` `{``'``description``'``:` `'``The operation completed successf``...``
| __package__ = `None`

Function Details | [hide private]

### get_error_string(error_code) | source code
Error code lookup. Parameters: `error_code` - error code. Returns: error description if found.

Variables Details | [hide private]

  ### ERRORS Value:
      {0: {'description': 'The operation completed successfully',
           'name': 'ERROR_SUCCESS'},
       1: {'description': 'Incorrect function',
           'name': 'ERROR_INVALID_FUNCTION'},
       2: {'description': 'The system cannot find the file specified',
           'name': 'ERROR_FILE_NOT_FOUND'},
       3: {'description': 'The system cannot find the path specified',
           'name': 'ERROR_PATH_NOT_FOUND'},
      ...