|
iceberg-cpp
|
Error handler interface for processing REST API error responses. Maps HTTP status codes to appropriate ErrorKind values following the Iceberg REST specification. More...
#include <error_handlers.h>
Public Member Functions | |
| virtual Status | Accept (const ErrorResponse &error) const =0 |
| Process an error response and return an appropriate Error. | |
Error handler interface for processing REST API error responses. Maps HTTP status codes to appropriate ErrorKind values following the Iceberg REST specification.
|
pure virtual |
Process an error response and return an appropriate Error.
| error | The error response parsed from the HTTP response body |
Implemented in iceberg::rest::DefaultErrorHandler, iceberg::rest::NamespaceErrorHandler, iceberg::rest::DropNamespaceErrorHandler, iceberg::rest::TableErrorHandler, iceberg::rest::ViewErrorHandler, iceberg::rest::TableCommitErrorHandler, and iceberg::rest::ViewCommitErrorHandler.