use kaptan_log_derive::KaptanError; #[derive(KaptanError)] struct NotAnError { code: u8, } fn main() {}