module documentation
This module defines custom exception classes used within a system for indicating various error conditions related to operations, options, keys, versions, or sessions.
Custom exceptions in this module inherit from a base exception class to provide a consistent hierarchy for error handling. They are used to raise specific error cases that can be programmatically distinguished and handled.
Classes:
- OxiaException: The base class for all exceptions in this module.
- InvalidOptions: Raised when invalid options are provided to a function or method.
- KeyNotFound: Raised when an operation references a key that does not exist.
- UnexpectedVersionId: Raised when an operation encounters an unexpected or incorrect version identifier.
- SessionNotFound: Raised when an operation references a session that cannot be found.
Exception |
|
Raised when invalid options are provided to a function or method |
Exception |
|
The key was not found during a get operation |
Exception |
|
The base class for all the Oxia client exceptions. |
Exception |
|
The session that the put request referred to is not alive. |
Exception |
|
When doing a put operation, the existing version does not match the expected version provided by the user. |