Skip to main content

llama_cpp_bindings_sys/
exception_message_error.rs

1use std::string::FromUtf8Error;
2
3/// An error type that can say a C++ exception message it was handed is not valid UTF-8.
4pub trait ExceptionMessageError {
5    fn exception_message_not_utf8(operation: &'static str, source: FromUtf8Error) -> Self;
6}