Trait donet_core::parser::error::ToErrorCode

source ·
pub trait ToErrorCode
where 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.

Required Methods§

source

fn error_code(&self) -> &str

Implementors§