Expand description
Error types for DuckDB extension FFI error propagation.
ExtensionError is the primary error type. It implements std::error::Error,
can be constructed from &str or String, and converts to a CString for
passing to access.set_error.
§Example
use quack_rs::error::ExtensionError;
let err = ExtensionError::from("Failed to register function");
assert_eq!(err.to_string(), "Failed to register function");Structs§
- Extension
Error - An error that can occur during
DuckDBextension initialization or registration.
Type Aliases§
- ExtResult
- Convenience type alias for
Result<T, ExtensionError>.