weaviate.exceptions
Weaviate Exceptions.
- exception weaviate.exceptions.AuthenticationFailedException(message: str = '')
Bases:
WeaviateBaseErrorAuthentication Failed Exception.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.BackupFailedException(message: str = '')
Bases:
WeaviateBaseErrorBackup Failed Exception.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.EmptyResponseException(message: str = '')
Bases:
WeaviateBaseErrorOccurs when an HTTP request unexpectedly returns an empty response
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.MissingScopeException(message: str = '')
Bases:
WeaviateBaseErrorScope was not provided with client credential flow.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.ObjectAlreadyExistsException(message: str = '')
Bases:
WeaviateBaseErrorObject Already Exists Exception.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.SchemaValidationException(message: str = '')
Bases:
WeaviateBaseErrorSchema Validation Exception.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.UnexpectedStatusCodeException(message: str, response: Response)
Bases:
WeaviateBaseErrorIs raised in case the status code returned from Weaviate is not handled in the client implementation and suggests an error.
Is raised in case the status code returned from Weaviate is not handled in the client implementation and suggests an error.
Custom code can act on the attributes: - status_code - json
- Parameters:
message (str) – An error message specific to the context, in which the error occurred.
response (requests.Response) – The request response of which the status code was unexpected.
- property status_code: int
- exception weaviate.exceptions.WeaviateBaseError(message: str = '')
Bases:
ExceptionWeaviate base exception that all Weaviate exceptions should inherit from. This error can be used to catch any Weaviate exceptions.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional
- exception weaviate.exceptions.WeaviateStartUpError(message: str = '')
Bases:
WeaviateBaseErrorIs raised if weaviate does not start up in time.
Weaviate base exception initializer. :param message: An error message specific to the context in which the error occurred. :type message: str, optional