Errors
APIKeyNotProvided
¶
Bases: HTTPClientError
Error for API key not provided.
Source code in inference_sdk/http/errors.py
87 88 89 90 | |
EncodingError
¶
Bases: HTTPClientError
Error for encoding errors.
Source code in inference_sdk/http/errors.py
93 94 95 96 | |
HTTPCallErrorError
¶
Bases: HTTPClientError
Error for HTTP call errors.
Attributes:
| Name | Type | Description |
|---|---|---|
description |
str
|
The description of the error. |
status_code |
int
|
The status code of the error. |
api_message |
str
|
The API message of the error. |
Source code in inference_sdk/http/errors.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |
HTTPClientError
¶
Bases: Exception
Base class for HTTP client errors.
Source code in inference_sdk/http/errors.py
4 5 6 7 | |
InvalidInputFormatError
¶
Bases: HTTPClientError
Error for invalid input format.
Source code in inference_sdk/http/errors.py
57 58 59 60 | |
InvalidModelIdentifier
¶
Bases: HTTPClientError
Error for invalid model identifier.
Source code in inference_sdk/http/errors.py
63 64 65 66 | |
InvalidParameterError
¶
Bases: HTTPClientError
Error for invalid parameter.
Source code in inference_sdk/http/errors.py
105 106 107 108 | |
ModelNotInitializedError
¶
Bases: HTTPClientError
Error for model not initialized.
Source code in inference_sdk/http/errors.py
69 70 71 72 | |
ModelNotSelectedError
¶
Bases: HTTPClientError
Error for model not selected.
Source code in inference_sdk/http/errors.py
81 82 83 84 | |
ModelTaskTypeNotSupportedError
¶
Bases: HTTPClientError
Error for model task type not supported.
Source code in inference_sdk/http/errors.py
75 76 77 78 | |
WrongClientModeError
¶
Bases: HTTPClientError
Error for wrong client mode.
Source code in inference_sdk/http/errors.py
99 100 101 102 | |