Skip to main content

llama_cpp_bindings/error/
new_llama_chat_message_error.rs

1use std::ffi::NulError;
2
3/// Failed to apply model chat template.
4#[derive(Debug, thiserror::Error)]
5pub enum NewLlamaChatMessageError {
6    /// the string contained a null byte and thus could not be converted to a c string.
7    #[error("{0}")]
8    NulError(#[from] NulError),
9}