Exceptions¶
Custom PlexosDB exceptions that highlight domain-specific failures.
- exception plexosdb.exceptions.NotFoundError¶
Bases:
ExceptionRaised when the database cannot locate a requested entry.
- exception plexosdb.exceptions.MultlipleElementsError¶
Bases:
ExceptionRaised when a query unexpectedly returns multiple elements.
- exception plexosdb.exceptions.ModelError¶
Bases:
ExceptionRaised for generic errors related to model relationships.
- exception plexosdb.exceptions.MultipleFilesError¶
Bases:
ExceptionRaised when multiple files are provided but only one is expected.
- exception plexosdb.exceptions.NameError¶
Bases:
ValueErrorRaised when an object name is invalid or missing in context.
- exception plexosdb.exceptions.NoPropertiesError¶
Bases:
ExceptionRaised when a lookup finds no properties for a given object.
- exception plexosdb.exceptions.PropertyError¶
Bases:
ExceptionRaised when we have a problem with a property.