Skip to content

sift_py.error

CLASS DESCRIPTION
ProtobufMaxSizeExceededError

The library limits the size of certain protobufs to prevent gRPC messages from being too big.

SiftAPIDeprecationWarning

Warning used for deprecated API features that may be removed in future updates.

SiftError

These exceptions are raised when something totally unexpected occurs and is

FUNCTION DESCRIPTION
raise_if_too_large
ATTRIBUTE DESCRIPTION
GRPC_MAX_MESSAGE_SIZE

GRPC_MAX_MESSAGE_SIZE module-attribute

GRPC_MAX_MESSAGE_SIZE = 4194304

ProtobufMaxSizeExceededError

Bases: Exception

The library limits the size of certain protobufs to prevent gRPC messages from being too big.

SiftAPIDeprecationWarning

Bases: FutureWarning

Warning used for deprecated API features that may be removed in future updates.

SiftError

SiftError(msg: str)

Bases: Exception

These exceptions are raised when something totally unexpected occurs and is meant to indicate that the error is likely not caused by the user, but rather, the library itself. These errors should be reported to Sift.

ATTRIBUTE DESCRIPTION
msg

TYPE: str

msg instance-attribute

msg: str

raise_if_too_large

raise_if_too_large(pb: Message)