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