Skip to main content

llama_cpp_bindings/error/
llama_context_load_error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum LlamaContextLoadError {
3    #[error("context could not be constructed")]
4    Unconstructible,
5    #[error("not enough memory")]
6    NotEnoughMemory,
7    #[error("{message}")]
8    Reported { message: String },
9}