sequence.errors module#
Errors used by sequence.
- exception sequence.errors.InvalidRowError(row: int, n_rows: int)[source]#
Bases:
OutputValidationError
Raise this exception if a required variable is missing from an output file.
- exception sequence.errors.MissingRequiredVariable(name: str)[source]#
Bases:
OutputValidationError
Raise this exception if a required variable is missing from an output file.
- exception sequence.errors.OutputValidationError[source]#
Bases:
SequenceError
Raise this exception if there is something wrong with an output file.
- exception sequence.errors.ParameterMismatchError(keys: Iterable[str])[source]#
Bases:
SequenceError
Raise this exception if values from two configurations are mismatched.
- exception sequence.errors.SequenceError[source]#
Bases:
Exception
All sequence errors should inherit from this class.
- exception sequence.errors.ShelfEdgeError(msg: str)[source]#
Bases:
SequenceError
Raise this exception is there was an errors locating the shelf edge.