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 280 of file AthOptionsParser.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 281 of file AthOptionsParser.py.

281 def __init__(self, reason=None, message=None):
282 import AthenaCommon.ExitCodes as ath_codes
283 if reason is None:
284 reason = ath_codes.OPTIONS_UNKNOWN
285 if message is None:
286 try:
287 message = ath_codes.codes[reason]
288 except KeyError:
289 message = ath_codes.codes[ath_codes.OPTIONS_UNKNOWN]
290
291 super().__init__(reason, message)
292
293

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