|
iceberg-cpp
|
Define Result, Status, and error helpers. More...
#include <concepts>#include <expected>#include <format>#include <string>#include <type_traits>#include "iceberg/iceberg_export.h"Go to the source code of this file.
Classes | |
| struct | iceberg::Error |
| Error with a kind and a message. More... | |
| struct | iceberg::DefaultError< T > |
| /brief Default error trait More... | |
Namespaces | |
| namespace | iceberg |
| Core Apache Iceberg C++ APIs. | |
Concepts | |
| concept | iceberg::AsResult |
Macros | |
| #define | DEFINE_ERROR_FUNCTION(name) |
| Macro to define error creation functions. | |
Typedefs | |
| template<typename T , typename E = typename DefaultError<T>::type> | |
| using | iceberg::Result = std::expected< T, E > |
| Result alias. | |
| using | iceberg::Status = Result< void > |
| template<AsResult T> | |
| using | iceberg::ResultValueT = typename std::remove_cvref_t< T >::value_type |
Enumerations | |
| enum class | iceberg::ErrorKind { kAlreadyExists , kAuthenticationFailed , kBadRequest , kCommitFailed , kCommitStateUnknown , kDecompressError , kForbidden , kInternalServerError , kInvalid , kInvalidArgument , kInvalidArrowData , kInvalidExpression , kInvalidManifest , kInvalidManifestList , kInvalidSchema , kIOError , kJsonParseError , kNamespaceNotEmpty , kNoSuchNamespace , kNoSuchPlanId , kNoSuchPlanTask , kNoSuchTable , kNoSuchWarehouse , kNoSuchView , kNotAllowed , kNotAuthorized , kNotFound , kNotImplemented , kNotSupported , kRestError , kRetryableValidationFailed , kServiceUnavailable , kTokenExpired , kUnknownError , kValidationFailed } |
| Error types for iceberg. | |
Define Result, Status, and error helpers.
| #define DEFINE_ERROR_FUNCTION | ( | name | ) |
Macro to define error creation functions.