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}