Errors Reference

exception pyqldb.errors.__init__.DriverClosedError[source]
exception pyqldb.errors.__init__.IllegalStateError[source]
exception pyqldb.errors.__init__.LambdaAbortedError[source]
exception pyqldb.errors.__init__.ResultClosedError(session_token)[source]
exception pyqldb.errors.__init__.SessionClosedError[source]
exception pyqldb.errors.__init__.SessionPoolEmptyError(timeout)[source]
exception pyqldb.errors.__init__.StartTransactionError(error)[source]
exception pyqldb.errors.__init__.TransactionClosedError[source]
pyqldb.errors.__init__.is_bad_request_exception(e)[source]

Is the exception a BadRequestException?

Parameters

e (botocore.exceptions.ClientError) – The ClientError caught.

Return type

bool

Returns

True if the exception is an BadRequestException. False otherwise.

pyqldb.errors.__init__.is_invalid_session_exception(e)[source]

Is the exception an InvalidSessionException?

Parameters

e (botocore.exceptions.ClientError) – The ClientError caught.

Return type

bool

Returns

True if the exception is an InvalidSessionException. False otherwise.

pyqldb.errors.__init__.is_occ_conflict_exception(e)[source]

Is the exception an OccConflictException?

Parameters

e (botocore.exceptions.ClientError) – The ClientError caught.

Return type

bool

Returns

True if the exception is an OccConflictException. False otherwise.

pyqldb.errors.__init__.is_retriable_exception(e)[source]

Is the exception a retriable exception?

Parameters

e (botocore.exceptions.ClientError) – The ClientError caught.

Return type

bool

Returns

True if the exception is a retriable exception. False otherwise.