exceptions module
EdgeImpulseException
Common base class for all non-exit exceptions.
Parameters
message
Bases
builtins.Exception
builtins.BaseException
Subclasses
edgeimpulse.exceptions.InvalidAuthTypeException
edgeimpulse.exceptions.InvalidDeployParameterException
edgeimpulse.exceptions.InvalidDeviceException
edgeimpulse.exceptions.InvalidEngineException
edgeimpulse.exceptions.InvalidModelException
edgeimpulse.exceptions.InvalidTargetException
edgeimpulse.exceptions.MissingApiIngestionEndpointException
edgeimpulse.exceptions.MissingApiKeyException
edgeimpulse.exceptions.TimeoutException
edgeimpulse.exceptions.UnsuccessfulRequestException
edgeimpulse.exceptions.UnsupportedSampleType
InvalidAuthTypeException
Common base class for all non-exit exceptions.
Parameters
message
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
InvalidDeployParameterException
Exception raised when an invalid parameter is passed.
Parameters
msg: str
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
InvalidDeviceException
Exception raised when an invalid device is passed.
Parameters
device: str
profile_devices: List[str]
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
InvalidEngineException
Exception raised when an invalid engine is passed.
For a list of valid engines use edgeimpulse.model.list_engines()
.
Parameters
validation_error
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
InvalidModelException
Common base class for all non-exit exceptions.
Parameters
msg: str
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
InvalidTargetException
Exception raised when an invalid target is passed.
For a list of valid targets use edgeimpulse.model.list_deployment_targets()
.
Parameters
deploy_target: str
target_names: List[str]
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
MissingApiIngestionEndpointException
Common base class for all non-exit exceptions.
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
MissingApiKeyException
Common base class for all non-exit exceptions.
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
TimeoutException
Exception raised when a timeout has been reached.
Parameters
msg: str
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
UnsuccessfulRequestException
Common base class for all non-exit exceptions.
Parameters
error: str | None
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
UnsupportedSampleType
Exception raised when attempting to upload or download a data type that is not supported by Edge Impulse.
Parameters
error: str | None
Bases
edgeimpulse.exceptions.EdgeImpulseException
builtins.Exception
builtins.BaseException
Last updated