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
4 5 6 7 8 9 | |
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
12 13 14 15 16 17 | |
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
20 21 22 23 24 25 | |
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
28 29 30 31 32 33 | |
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
36 37 38 39 40 41 | |
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
44 45 46 47 48 49 | |
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
94 95 96 97 98 99 | |
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
52 53 54 55 56 57 | |
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
60 61 62 63 64 65 | |
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
68 69 70 71 72 73 | |
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
76 77 78 79 80 81 | |