viperleed.calc.files.parameters.errors
Module errors of viperleed.calc.files.parameters.
This module used to be called files/parameter_errors.py. Refactored in October 2023.
Defines exceptions that may be raised when reading/writing/interpreting a PARAMETERS file.
Exceptions
|
A user parameter conflicts with the one derived by us. |
|
A known parameter is present on a line without an '='. |
|
Raised when a boolean conversion fails. |
|
Raised when the value of two or more parameters clash. |
|
Raised when a conversion fails. |
|
Base class for errors raised during PARAMETERS interpretation. |
|
Raised when a float conversion fails. |
|
Raised when a parameter is not recognized. |
|
Raised when an int conversion fails. |
|
Raised when a flag is needed but not given. |
|
A parameter requiring a Slab was requested without a Slab present. |
|
Raised when a parameter is not recognized. |
|
Raised when the number of inputs is unexpected. |
|
Raised when parsing fails. |
|
Raised when the value is not in the allowed range. |
|
Raised when unexpected input is encountered. |
|
Raised when an unknown flag is encountered. |
|
Raised when the value is not allowed. |
|
A useless parameter was given in the current PARAMETERS file. |