Errors#
policyengine_core.errors contains error definitions specific to simulations.
NANCreationError#
ParameterNotFoundError#
ParameterParsingError#
PeriodMismatchError#
- class policyengine_core.errors.period_mismatch_error.PeriodMismatchError(variable_name, period, definition_period, message)#
Bases:
ValueErrorException raised when one tries to set a variable value for a period that doesn’t match its definition period
SituationParsingError#
- class policyengine_core.errors.situation_parsing_error.SituationParsingError(path, message, code=None)#
Bases:
ExceptionException raised when the situation provided as an input for a simulation cannot be parsed
SpiralError#
VariableNameConflictError#
VariableNotFoundError#
- class policyengine_core.errors.variable_not_found_error.VariableNotFoundError(variable_name, tax_benefit_system)#
Bases:
ExceptionException raised when a variable has been queried but is not defined in the TaxBenefitSystem.