glide_shared.exceptions
GlideError
Bases: Exception
Base class for errors.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
8 9 10 11 12 13 14 15 16 17 | |
ClosingError
Bases: GlideError
Errors that report that the client has closed and is no longer usable.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
20 21 22 23 24 25 | |
RequestError
Bases: GlideError
Errors that were reported during a request.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
28 29 30 31 32 33 | |
TimeoutError
Bases: RequestError
Errors that are thrown when a request times out.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
36 37 38 39 40 41 | |
ExecAbortError
Bases: RequestError
Errors that are thrown when a transaction is aborted.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
44 45 46 47 48 49 | |
ConnectionError
Bases: RequestError
Errors that are thrown when a connection disconnects. These errors can be temporary, as the client will attempt to reconnect.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
52 53 54 55 56 57 58 | |
ConfigurationError
Bases: RequestError
Errors that are thrown when a request cannot be completed in current configuration settings.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
61 62 63 64 65 66 | |
CircuitBreakerError
Bases: RequestError
Thrown when a request is rejected because the client circuit breaker is open.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
69 70 71 72 73 74 | |
RdmaError
Bases: RequestError
Thrown when an RDMA transfer cannot be completed or RDMA is not supported.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
77 78 79 80 81 82 | |
LoggerError
Bases: GlideError
Errors that are thrown when the logger has an error initializing.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
85 86 87 88 89 90 | |
get_connection_error_class(error_type, default=ClosingError)
The exception to raise for a failed client creation reported by the FFI.
The core's configuration validation raises ConfigurationError; any other failure raises
default, so its type is unchanged.
Source code in doc-gen/valkey-glide/python/glide-shared/glide_shared/exceptions.py
113 114 115 116 117 118 119 120 121 122 123 124 | |