Exceptions¶
Exceptions for SimKit.
SimKit Exception¶
Unnamed Data Error¶
Duplicate Registry Item Error¶
Mismatched Registry Meta Keys Error¶
Uncertainty Percent Units Error¶
Uncertainty Variance Error¶
Uncertainty Bounds Units Error¶
-
exception
simkit.core.exceptions.
UncertaintyBoundsUnitsError
(key, lo_units, up_units)[source]¶ An exception raised when the lower and upper uncertainty bounds do not have matching units, which should both be percent, otherwise
UncertaintyPercentUnitsError
is raised.- Parameters
key (str) – Uncertainty key with mismatched lower and upper bounds.
lo_units (
quantities
) – Units of lower uncertainty bound.up_units (
quantities
) – Units of upper uncertainty bound