exceptions module

EdgeImpulseException

class edgeimpulse.exceptions.EdgeImpulseException(
		message
)

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

class edgeimpulse.exceptions.InvalidAuthTypeException(
		message
)

Common base class for all non-exit exceptions.

Parameters

  • message

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

InvalidDeployParameterException

class edgeimpulse.exceptions.InvalidDeployParameterException(
		msg: str
)

Exception raised when an invalid parameter is passed.

Parameters

  • msg: str

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

InvalidDeviceException

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

Exception raised when an invalid device is passed.

Parameters

  • device: str

  • profile_devices: List[str]

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

InvalidEngineException

class edgeimpulse.exceptions.InvalidEngineException(
		validation_error
)

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

class edgeimpulse.exceptions.InvalidModelException(
		msg: str
)

Common base class for all non-exit exceptions.

Parameters

  • msg: str

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

InvalidTargetException

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

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

class edgeimpulse.exceptions.MissingApiIngestionEndpointException(
		
)

Common base class for all non-exit exceptions.

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

MissingApiKeyException

class edgeimpulse.exceptions.MissingApiKeyException(
		
)

Common base class for all non-exit exceptions.

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

TimeoutException

class edgeimpulse.exceptions.TimeoutException(
		msg: str
)

Exception raised when a timeout has been reached.

Parameters

  • msg: str

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

UnsuccessfulRequestException

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

Common base class for all non-exit exceptions.

Parameters

  • error: Optional[str]

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

UnsupportedSampleType

class edgeimpulse.exceptions.UnsupportedSampleType(
		error: Optional[str]
)

Exception raised when attempting to upload or download a data type that is not supported by Edge Impulse.

Parameters

  • error: Optional[str]

Bases

  • edgeimpulse.exceptions.EdgeImpulseException

  • builtins.Exception

  • builtins.BaseException

Last updated