Trait dmntk_common::ToErrorMessage

source ·
pub trait ToErrorMessage {
    // Required method
    fn message(self) -> String;
}
Expand description

Common trait to be implemented by structs defining a specific error.

Required Methods§

source

fn message(self) -> String

Convert error definition to message string.

Implementors§