You are viewing documentation about an older version (0.11.0). View latest version

snowflake.core.exceptions

Exceptions

APIError([status, reason, http_resp, request_id])

NotFoundError([status, reason, http_resp])

Raised when we encounter an HTTP error code of 404.

UnauthorizedError([status, reason, http_resp])

Raised when we encounter an HTTP error code of 401.

ForbiddenError([status, reason, http_resp])

Raised when we encounter an HTTP error code of 403.

ServerError([status, reason, http_resp])

Raised when we encounter an HTTP error code of 5NN.

ConflictError([status, reason, http_resp])

Raised when we encounter an HTTP error code of 409.

InvalidResponseError([reason])

Raised when the api response is invalid.

LongRunningQueryTimeout([reason])

Raised when long running query timeout.

FunctionArgsInvalid([reason])

Raised when function args are invalid.

FunctionResultInvalid([reason])

Raised when function result is invalid.

InvalidOperationError([reason])

Raised when user tries to make an invalid operation.