ATLAS Offline Software
Loading...
Searching...
No Matches
python.AthOptionsParser.AthOptionsError Class Reference
Inheritance diagram for python.AthOptionsParser.AthOptionsError:
Collaboration diagram for python.AthOptionsParser.AthOptionsError:

Public Member Functions

 __init__ (self, reason=None, message=None)

Detailed Description

Definition at line 257 of file AthOptionsParser.py.

Constructor & Destructor Documentation

◆ __init__()

python.AthOptionsParser.AthOptionsError.__init__ ( self,
reason = None,
message = None )

Definition at line 258 of file AthOptionsParser.py.

258 def __init__(self, reason=None, message=None):
259 import AthenaCommon.ExitCodes as ath_codes
260 if reason is None:
261 reason = ath_codes.OPTIONS_UNKNOWN
262 if message is None:
263 try:
264 message = ath_codes.codes[reason]
265 except KeyError:
266 message = ath_codes.codes[ath_codes.OPTIONS_UNKNOWN]
267
268 super().__init__(reason, message)
269
270

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