datamint.exceptions
- exception datamint.exceptions.DatamintException
Bases:
Exception
Base class for exceptions in this module.
- exception datamint.exceptions.EntityAlreadyExistsError(entity_type, params)
Bases:
DatamintException
Exception raised when trying to create an entity that already exists. For instance, when creating a project with a name that already exists.
- Parameters:
entity_type (
str
)params (
dict
)
- exception datamint.exceptions.ResourceNotFoundError(resource_type, params)
Bases:
DatamintException
Exception raised when a resource is not found. For instance, when trying to get a resource by a non-existing id.
- Parameters:
resource_type (
str
)params (
dict
)
- set_params(resource_type, params)
- Parameters:
resource_type (
str
)params (
dict
)