llama-cpp-error-recorder 0.11.0

Captures errors raised inside FFI callbacks (which cannot unwind or return Result) for retrieval by the Rust code that drove the call
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg_attr(
    not(test),
    deny(clippy::unwrap_used, clippy::expect_used, clippy::panic)
)]

mod frame_stack;

pub mod error_scope;
pub mod record;
pub mod recorded_error;

pub use error_scope::ErrorScope;
pub use record::record;
pub use recorded_error::RecordedError;