iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
iceberg::rest::CreateTableErrorHandler Class Referencefinal

Table create commit operation error handler. More...

#include <error_handlers.h>

Inheritance diagram for iceberg::rest::CreateTableErrorHandler:
iceberg::rest::TableCommitErrorHandler iceberg::rest::DefaultErrorHandler iceberg::rest::ErrorHandler

Public Member Functions

Status Accept (const ErrorResponse &error) const override
 Process an error response and return an appropriate Error.
 
- Public Member Functions inherited from iceberg::rest::TableCommitErrorHandler
Status Accept (const ErrorResponse &error) const override
 Process an error response and return an appropriate Error.
 
- Public Member Functions inherited from iceberg::rest::DefaultErrorHandler
Result< ErrorResponseParseResponse (uint32_t code, const std::string &text) const override
 Parse an HTTP error response body.
 

Static Public Member Functions

static const std::shared_ptr< CreateTableErrorHandler > & Instance ()
 Returns the singleton instance.
 
- Static Public Member Functions inherited from iceberg::rest::TableCommitErrorHandler
static const std::shared_ptr< TableCommitErrorHandler > & Instance ()
 Returns the singleton instance.
 
- Static Public Member Functions inherited from iceberg::rest::DefaultErrorHandler
static const std::shared_ptr< DefaultErrorHandler > & Instance ()
 Returns the singleton instance.
 

Detailed Description

Table create commit operation error handler.

Member Function Documentation

◆ Accept()

Status iceberg::rest::CreateTableErrorHandler::Accept ( const ErrorResponse error) const
overridevirtual

Process an error response and return an appropriate Error.

Parameters
errorThe error response parsed from the HTTP response body
Returns
An Error object with appropriate ErrorKind and message

Implements iceberg::rest::ErrorHandler.


The documentation for this class was generated from the following files: