llama_cpp_bindings/error/
apply_chat_template_error.rs1use std::string::FromUtf8Error;
2
3#[derive(Debug, thiserror::Error)]
4pub enum ApplyChatTemplateError {
5 #[error("{0}")]
6 FromUtf8Error(#[from] FromUtf8Error),
7 #[error("Integer conversion error: {0}")]
8 IntConversionError(#[from] std::num::TryFromIntError),
9}