Trait donet_core::parser::error::ToErrorCode
source · pub trait ToErrorCodewhere
Self: Error,{
// Required method
fn error_code(&self) -> &str;
}
Expand description
Convert self
type to an error code.
Used with DC parser pipeline error types.