Definition at line 280 of file AthOptionsParser.py.
◆ __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: