snowflake.core.exceptions¶

Exceptions

APIError(root[, status, reason, http_resp, ...])

Raised when there is an exception with any of the API Error Codes.

NotFoundError(root[, status, reason, http_resp])

Raised when we encounter an HTTP error code of 404.

UnauthorizedError(root[, status, reason, ...])

Raised when we encounter an HTTP error code of 401.

ForbiddenError(root[, status, reason, http_resp])

Raised when we encounter an HTTP error code of 403.

ServerError(root[, status, reason, http_resp])

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

ConflictError(root[, status, reason, http_resp])

Raised when we encounter an HTTP error code of 409.

InvalidActionError(*args)

Raised when the user makes an invalid action such as invalid parameters or when the API response is invalid.

InvalidResponseError([reason])

Raised when the api response is invalid.

InvalidArgumentsError([reason])

Raised when function args are invalid.

InvalidResultError([reason])

Raised when function result is invalid.

InvalidOperationError([reason])

Raised when user tries to make an invalid operation.

RetryTimeoutError([reason])

Raised when a request times out after any amount of retries.

MissingModuleError(module[, post_error_blurb])

Exception for missing modules.

FileOperationError(*args)

FilePutError(*args)

FileGetError(*args)