Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
The opendal error type for C binding, containing an error code and corresponding error message. More...
#include <opendal.h>
Public Attributes | |
enum opendal_code | code |
struct opendal_bytes | message |
The opendal error type for C binding, containing an error code and corresponding error message.
The normal operations returns a pointer to the opendal_error, and the nullptr normally represents no error has taken placed. If any error has taken place, the caller should check the error code and print the error message.
The error code is represented in opendal_code, which is an enum on different type of errors. The error messages is represented in opendal_bytes, which is a non-null terminated byte array.
enum opendal_code opendal_error::code |
struct opendal_bytes opendal_error::message |