pygridgain.exceptions module

exception pygridgain.exceptions.AuthenticationError(message: str)

Bases: Exception

This exception is raised on authentication failure.

__init__(message: str)
exception pygridgain.exceptions.BinaryTypeError

Bases: pygridgain.exceptions.CacheError

A remote error in operation with Complex Object registry.

exception pygridgain.exceptions.CacheCreationError

Bases: pygridgain.exceptions.CacheError

This exception is raised, when any complex operation failed on cache creation phase.

exception pygridgain.exceptions.CacheError

Bases: Exception

This exception is raised, whenever any remote Thin client cache operation returns an error.

exception pygridgain.exceptions.ClusterError

Bases: Exception

This exception is raised, whenever any remote Thin client cluster operation returns an error.

exception pygridgain.exceptions.HandshakeError(expected_version: Tuple[int, int, int], message: str)

Bases: OSError

This exception is raised on GridGain binary protocol handshake failure, as defined in https://ignite.apache.org/docs/latest/binary-client-protocol/binary-client-protocol#connection-handshake

__init__(expected_version: Tuple[int, int, int], message: str)
exception pygridgain.exceptions.NotSupportedByClusterError

Bases: Exception

This exception is raised, whenever cluster does not supported specific operation probably because it is outdated.

exception pygridgain.exceptions.NotSupportedError

Bases: Exception

This exception is raised, whenever client does not support specific operation.

exception pygridgain.exceptions.ParameterError

Bases: Exception

This exception represents the parameter validation error in any pygridgain method.

exception pygridgain.exceptions.ParseError

Bases: Exception

This exception is raised, when pygridgain is unable to build a query to, or parse a response from, GridGain node.

exception pygridgain.exceptions.ReconnectError

Bases: Exception

This exception is raised by Client.reconnect method, when no more nodes are left to connect to. It is not meant to be an error, but rather a flow control tool, similar to StopIteration.

exception pygridgain.exceptions.SQLError

Bases: pygridgain.exceptions.CacheError

An error in SQL query.