weaviate.exceptions
Weaviate Exceptions.
- exception weaviate.exceptions.AuthenticationFailedException(message: str = '')
Bases:
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.BackupFailedException(message: str = '')
Bases:
WeaviateBaseError
Backup 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:
WeaviateBaseError
Occurs 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:
WeaviateBaseError
Scope 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:
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:
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: Response)
Bases:
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.
- property status_code: int
- 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
- exception weaviate.exceptions.WeaviateStartUpError(message: str = '')
Bases:
WeaviateBaseError
Is 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