Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
LanceCallbackError Struct Reference

#include <lance/lance.h>

Public Attributes

int32_t code
 
LanceOwnedString message
 

Detailed Description

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.

Definition at line 1994 of file lance.h.

Member Data Documentation

◆ code

int32_t LanceCallbackError::code

Definition at line 1995 of file lance.h.

◆ message

LanceOwnedString LanceCallbackError::message

Definition at line 1996 of file lance.h.


The documentation for this struct was generated from the following file: