Definition at line 252 of file AthOptionsParser.py.
◆ __init__()
| python.AthOptionsParser.AthOptionsError.__init__ |
( |
| self, |
|
|
| reason = None, |
|
|
| message = None ) |
Definition at line 253 of file AthOptionsParser.py.
253 def __init__(self, reason=None, message=None):
254 import AthenaCommon.ExitCodes as ath_codes
255 if reason is None:
256 reason = ath_codes.OPTIONS_UNKNOWN
257 if message is None:
258 try:
259 message = ath_codes.codes[reason]
260 except KeyError:
261 message = ath_codes.codes[ath_codes.OPTIONS_UNKNOWN]
262
263 super().__init__(reason, message)
264
265
The documentation for this class was generated from the following file: