pyqldb.errors.__init__.
is_bad_request_exception
(e)[source]¶Is the exception a BadRequestException?
e (botocore.exceptions.ClientError
) – The ClientError caught.
bool
True if the exception is an BadRequestException. False otherwise.
pyqldb.errors.__init__.
is_invalid_session_exception
(e)[source]¶Is the exception an InvalidSessionException?
e (botocore.exceptions.ClientError
) – The ClientError caught.
bool
True if the exception is an InvalidSessionException. False otherwise.
pyqldb.errors.__init__.
is_occ_conflict_exception
(e)[source]¶Is the exception an OccConflictException?
e (botocore.exceptions.ClientError
) – The ClientError caught.
bool
True if the exception is an OccConflictException. False otherwise.
pyqldb.errors.__init__.
is_retriable_exception
(e)[source]¶Is the exception a retriable exception?
e (botocore.exceptions.ClientError
) – The ClientError caught.
bool
True if the exception is a retriable exception. False otherwise.
pyqldb.errors.__init__.
is_transaction_expired_exception
(e)[source]¶Does this exception denote that a transaction has expired?
e (botocore.exceptions.ClientError
) – The ClientError caught.
bool
True if the exception denote that a transaction has expired. False otherwise.