weaviate.exceptions

Weaviate Exceptions.

exception weaviate.exceptions.AuthenticationFailedException

Bases: Exception

Authentication Failed Exception.

exception weaviate.exceptions.ObjectAlreadyExistsException

Bases: Exception

Object Already Exists Exception.

exception weaviate.exceptions.SchemaValidationException

Bases: Exception

Schema Validation Exception.

exception weaviate.exceptions.UnexpectedStatusCodeException(message: str, response: requests.models.Response)

Bases: Exception

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.