Exceptions
Failure cases can result in a wide range of exceptions. They can be roughly categorized into:
- Base Exceptions:
Low-level failures like web-server or authentication errors and base classes for more specific errors.
- Data Exceptions:
Failures as results of operations on data in a platform like
NotFoundandNotUniquevariants.
All subclasses of ixmp4.base_exceptions.Ixmp4Error will be
serialized to a JSON error response if raised via the http API.
The resulting JSON object will have a standardized structure:
{
"name": "<exception name>",
"message": "<exception message>",
"http_status_code": 200 /* ... 599 */,
"data": { /* extra exception data */ },
}
The exception name can be used to look up the appropriate exception class in the client exception registry and re-raise the right exceptions.
Base Exceptions
- exception ixmp4.base_exceptions.Ixmp4Error(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
ServiceException
- exception ixmp4.base_exceptions.ServerError(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
ServerError,Ixmp4Error
- exception ixmp4.base_exceptions.BadGateway(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadGateway,Ixmp4Error
Bases:
ServiceUnavailable,Ixmp4Error
- exception ixmp4.base_exceptions.BadRequest(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest,Ixmp4Error
- exception ixmp4.base_exceptions.Unauthorized(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Unauthorized,Ixmp4Error
- exception ixmp4.base_exceptions.Forbidden(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Forbidden,Ixmp4Error
- exception ixmp4.base_exceptions.NotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound,Ixmp4Error
- exception ixmp4.base_exceptions.NotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique,Ixmp4Error
- exception ixmp4.base_exceptions.ConstraintViolated(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
ConstraintViolated,Ixmp4Error
- exception ixmp4.base_exceptions.InconsistentIamcType(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'inconsistent_iamc_type'
- exception ixmp4.base_exceptions.ImproperlyConfigured(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'improperly_configured'
- exception ixmp4.base_exceptions.UnknownApiError(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'unknown_api_error'
- exception ixmp4.base_exceptions.TooManyRequests(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'too_many_requests'
- exception ixmp4.base_exceptions.PlatformNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound,PlatformNotFound,Ixmp4Error
- exception ixmp4.base_exceptions.PlatformNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'platform_not_unique'
- exception ixmp4.base_exceptions.OperationNotSupported(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'operation_not_supported'
- exception ixmp4.base_exceptions.SchemaError(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'schema_error'
- exception ixmp4.base_exceptions.DeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error
- exception ixmp4.base_exceptions.BadFilterArguments(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'bad_filter_arguments'
- exception ixmp4.base_exceptions.OptimizationDataValidationError(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'optimization_data_validation_error'
- exception ixmp4.base_exceptions.OptimizationItemUsageError(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
Ixmp4Error- http_error_name = 'optimization_item_usage_error'
- exception ixmp4.base_exceptions.InvalidDataFrame(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest
- exception ixmp4.base_exceptions.InvalidArguments(message: str | None = None, http_status_code: int | None = None, validation_error: ValidationError | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest- http_error_name = 'invalid_arguments'
Data Exceptions
Run
- exception ixmp4.data.run.exceptions.RunNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.run.exceptions.RunNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.run.exceptions.RunDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
ConstraintViolated
- exception ixmp4.data.run.exceptions.NoDefaultRunVersion(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest
- exception ixmp4.data.run.exceptions.RunIsLocked(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest
- exception ixmp4.data.run.exceptions.RunLockRequired(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest- message: str | None = "This operation requires an active run lock. Use ``with run.transact('description'):`` to acquire one."
- http_error_name = 'run_lock_required'
Model
- exception ixmp4.data.model.exceptions.ModelNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.model.exceptions.ModelNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.model.exceptions.ModelDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Scenario
- exception ixmp4.data.scenario.exceptions.ScenarioNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.scenario.exceptions.ScenarioNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.scenario.exceptions.ScenarioDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Meta Indicator
- exception ixmp4.data.meta.exceptions.RunMetaEntryNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.meta.exceptions.RunMetaEntryNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.meta.exceptions.RunMetaEntryDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.meta.exceptions.InvalidRunMeta(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
BadRequest
Region
- exception ixmp4.data.region.exceptions.RegionNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.region.exceptions.RegionNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.region.exceptions.RegionDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Unit
- exception ixmp4.data.unit.exceptions.UnitNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.unit.exceptions.UnitNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.unit.exceptions.UnitDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
IAMC
DataPoint
- exception ixmp4.data.iamc.datapoint.exceptions.DataPointNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.iamc.datapoint.exceptions.DataPointNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.iamc.datapoint.exceptions.DataPointDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Measurand
- exception ixmp4.data.iamc.measurand.exceptions.MeasurandNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.iamc.measurand.exceptions.MeasurandNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.iamc.measurand.exceptions.MeasurandDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
TimeSeries
- exception ixmp4.data.iamc.timeseries.exceptions.TimeSeriesNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.iamc.timeseries.exceptions.TimeSeriesNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.iamc.timeseries.exceptions.TimeSeriesDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Variable
- exception ixmp4.data.iamc.variable.exceptions.VariableNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.iamc.variable.exceptions.VariableNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.iamc.variable.exceptions.VariableDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Optimization
IndexSet
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetDataInvalid(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetDataNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound,IndexSetDataInvalid
- exception ixmp4.data.optimization.indexset.exceptions.IndexSetDataNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique,IndexSetDataInvalid
Scalar
- exception ixmp4.data.optimization.scalar.exceptions.ScalarNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.scalar.exceptions.ScalarNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.scalar.exceptions.ScalarDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
Equation
- exception ixmp4.data.optimization.equation.exceptions.EquationNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.equation.exceptions.EquationNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.equation.exceptions.EquationDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.optimization.equation.exceptions.EquationDataInvalid(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Parameter
- exception ixmp4.data.optimization.parameter.exceptions.ParameterNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.parameter.exceptions.ParameterNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.parameter.exceptions.ParameterDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.optimization.parameter.exceptions.ParameterDataInvalid(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Table
- exception ixmp4.data.optimization.table.exceptions.TableNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.table.exceptions.TableNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.table.exceptions.TableDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.optimization.table.exceptions.TableDataInvalid(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Variable
- exception ixmp4.data.optimization.variable.exceptions.VariableNotFound(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotFound
- exception ixmp4.data.optimization.variable.exceptions.VariableNotUnique(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
NotUnique
- exception ixmp4.data.optimization.variable.exceptions.VariableDeletionPrevented(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])
Bases:
DeletionPrevented
- exception ixmp4.data.optimization.variable.exceptions.VariableDataInvalid(message: str | None = None, http_status_code: int | None = None, **data: None | int | str | bool | list[None | int | str | bool | list[DataItemType] | dict[str, DataItemType]] | dict[str, None | int | str | bool | list[DataItemType] | dict[str, DataItemType]])