Exceptions

AttributeValidationError

There was a problem validating the corresponding attribute.

DeletedObjectError

Indicates that an action cannot be performed.

UnsavedObjectError

Indicate that an action cannot be performed.


class AttributeValidationError[source]

There was a problem validating the corresponding attribute.

This exception indicates that the attribute value may have been required, may be incorrect, or cannot be serialized.

class DeletedObjectError[source]

Indicates that an action cannot be performed.

Raised when some action cannot be performed because the catalog object has been deleted from the Descartes Labs catalog using the delete method (e.g. Product.delete()).

class UnsavedObjectError[source]

Indicate that an action cannot be performed.

Raised when trying to delete an object that hasn’t been saved.