pub trait ToErrorMessage { // Required method fn message(self) -> String; }
Common trait to be implemented by structs defining a specific error.
Convert error definition to message string.