exceptions

edgeimpulse v1.0.1

edgeimpulse.exceptions module

exception edgeimpulse.exceptions.EdgeImpulseException(message)

Bases: Exception

exception edgeimpulse.exceptions.InvalidAuthTypeException(message)

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.InvalidDeployParameterException(msg: str)

Bases: EdgeImpulseException

Exception raised when an invalid parameter is passed.

exception edgeimpulse.exceptions.InvalidDeviceException(device: str, profile_devices: List[str])

Bases: EdgeImpulseException

Exception raised when an invalid device is passed.

Atrributes:

device (str): device type to profile
profile devices (List[str]): List of devices for a project as strings.

exception edgeimpulse.exceptions.InvalidEngineException(validation_error)

Bases: EdgeImpulseException

Exception raised when an invalid engine is passed. For a list of valid engines use edgeimpulse.model.list_engines().

exception edgeimpulse.exceptions.InvalidModelException(msg: str)

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.InvalidTargetException(deploy_target: str, target_names: List[str])

Bases: EdgeImpulseException

Exception raised when an invalid target is passed. For a list of valid targets use edgeimpulse.model.list_deployment_targets().

Atrributes:

deploy_target (str): Target to deploy to.
target_names (List[str]): List of targets for a project as strings.

exception edgeimpulse.exceptions.MissingApiKeyException()

Bases: EdgeImpulseException

exception edgeimpulse.exceptions.UnsuccessfulRequestException(error: Optional[str])

Bases: EdgeImpulseException

Last updated

Was this helpful?