exceptions
ContentTypeInvalid
¶
Bases: Exception
Raised when the content type is invalid.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
1 2 3 4 5 6 |
|
ContentTypeMissing
¶
Bases: Exception
Raised when the content type is missing.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
9 10 11 12 13 14 |
|
EngineIgnitionFailure
¶
Bases: Exception
Raised when the engine fails to ignite.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
17 18 19 20 21 22 |
|
InferenceModelNotFound
¶
Bases: Exception
Raised when the inference model is not found.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
25 26 27 28 29 30 |
|
InvalidEnvironmentVariableError
¶
Bases: Exception
Raised when an environment variable is invalid.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
33 34 35 36 37 38 |
|
InvalidMaskDecodeArgument
¶
Bases: Exception
Raised when an invalid argument is provided for mask decoding.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
41 42 43 44 45 46 |
|
InvalidNumpyInput
¶
Bases: InputImageLoadError
Raised when the input is an invalid NumPy array.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
91 92 93 94 95 96 |
|
MissingApiKeyError
¶
Bases: Exception
Raised when the API key is missing.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
49 50 51 52 53 54 |
|
MissingServiceSecretError
¶
Bases: Exception
Raised when the service secret is missing.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
57 58 59 60 61 62 |
|
OnnxProviderNotAvailable
¶
Bases: Exception
Raised when the ONNX provider is not available.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
65 66 67 68 69 70 |
|
WorkspaceLoadError
¶
Bases: Exception
Raised when there is an error loading the workspace.
Attributes:
Name | Type | Description |
---|---|---|
message |
str
|
Optional message describing the error. |
Source code in inference/core/exceptions.py
73 74 75 76 77 78 |
|