| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
EnvConfig.Variable.EnvError Class Reference
Inheritance diagram for EnvConfig.Variable.EnvError:
[legend]
Collaboration diagram for EnvConfig.Variable.EnvError:
[legend]

## Public Member Functions
def | __init__
def | __str__

## Public Attributes
| val
| code

## Detailed Description

    Class which defines errors for locals operations.

Definition at line 340 of file Variable.py.

## Constructor & Destructor Documentation

def EnvConfig.Variable.EnvError.__init__ | ( |  | self,
|  |  | value,
|  |  | code
| ) |  |

Definition at line 342 of file Variable.py.

342
343 def __init__(self, value, code):
344 super(EnvError, self).__init__()
345 self.val = value
self.code = code

## Member Function Documentation

def EnvConfig.Variable.EnvError.__str__ | ( |  | self | ) |

Definition at line 346 of file Variable.py.

346
347 def __str__(self):
348 if self.code == 'undefined':
349 return 'Reference to undefined environment element: "'+self.val +'".'
350 elif self.code == 'ref2var':
351 return 'Reference to list from the middle of string.'
352 elif self.code == 'redeclaration':
353 return 'Wrong redeclaration of environment element "'+self.val+'".'

## Member Data Documentation

EnvConfig.Variable.EnvError.code

Definition at line 345 of file Variable.py.

EnvConfig.Variable.EnvError.val

Definition at line 344 of file Variable.py.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/cmake/EnvConfig/Variable.py