#[custom_error]Expand description
Custom error attribute macro, replaces the struct form errors in the original define_custom_errors! macro
ยงExample
use cmark_writer_macros::custom_error;
#[custom_error(format = "Table column mismatch: {}")]
struct TableColumnMismatchError(pub &'static str);