weaviate.exceptions¶
Weaviate Exceptions.
- exception weaviate.exceptions.AuthenticationFailedException(message: str = '')¶
Bases:
weaviate.exceptions.WeaviateBaseError
Authentication 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.ObjectAlreadyExistsException(message: str = '')¶
Bases:
weaviate.exceptions.WeaviateBaseError
Object 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:
weaviate.exceptions.WeaviateBaseError
Schema 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: requests.models.Response)¶
Bases:
weaviate.exceptions.WeaviateBaseError
Is 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.
- exception weaviate.exceptions.WeaviateBaseError(message: str = '')¶
Bases:
Exception
Weaviate 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