[−][src]Trait avocado::error::ErrMsg
Values that can act as or generate an error message.
Required methods
fn into_message(self) -> Cow<'static, str>
Convert the value to an error message.
Implementations on Foreign Types
impl ErrMsg for &'static str
[src]
impl ErrMsg for &'static str
Blanket impl ErrMsg
for string literals.
fn into_message(self) -> Cow<'static, str> | [src] |
Implementors
impl<F> ErrMsg for F where
F: FnOnce() -> String,
[src]
impl<F> ErrMsg for F where
F: FnOnce() -> String,
Blanket impl ErrMsg
for error message formatting functions.
fn into_message(self) -> Cow<'static, str> | [src] |