|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/lance.h>
Public Attributes | |
| int32_t | code |
| LanceOwnedString | message |
Error returned by a BatchUDF mapper or checkpoint callback.
The library zero-initializes this structure before every invocation. On success the callback leaves it zeroed. On failure code is nonzero: INVALID_ARGUMENT, IO, NOT_FOUND, NOT_SUPPORTED, and INTERNAL map to their native variants; other values are treated as INTERNAL.
message is copied into a Rust-owned error before message.release is called exactly once. A callback must not report failure through lance_last_error_*: callbacks may run on a different thread.
| LanceOwnedString LanceCallbackError::message |