Skip to main content

llama_cpp_bindings/
batch_add_error.rs

1#[derive(thiserror::Error, Debug, PartialEq, Eq)]
2pub enum BatchAddError {
3    #[error("Insufficient Space of {0}")]
4    InsufficientSpace(usize),
5    #[error("Empty buffer")]
6    EmptyBuffer,
7    #[error("Integer overflow: {0}")]
8    IntegerOverflow(String),
9}