fn full(&self) -> String {
        let detailed = self.detailed();
        if detailed.is_empty() {
            self.short().to_string()
        } else {
            format!("{} {{ {} }}", self.short(), self.detailed())
        }
    }
/// Return full error message as String.
///
/// **Notes** Do not overrride this method.
/// # Usage
/// ```
/// # extern crate error_chain_mini;
/// # #[macro_use] extern crate error_chain_mini_derive;
/// # fn main() {
/// use error_chain_mini::*;
/// #[derive(ErrorKind, Eq, PartialEq, Debug)]
/// #[msg(short = "My Error", detailed = "value: {}", value)]
/// struct MyError {
///     value: usize,
/// }
/// let err = MyError { value: 320 };
/// assert_eq!(format!("{}", err), err.full());
/// # }
/// ```
Return full error message as String.
Notes** Do not overrride this method.
Return full error message as String . Notes ** Do not overrride this method .
fn full(&self) -> String {
        let detailed = self.detailed();
        if detailed.is_empty() {
            self.short().to_string()
        } else {
            format!("{} {{ {} }}", self.short(), self.detailed())
        }
    }
fn full ( & self ) -> String { let detailed = self . detailed ( ) ; if detailed . is_empty ( ) { self . short ( ) . to_string ( ) } else { format ! ( " " self short ( ) self detailed ( ) ) } }
Return full error message as String.
Return full error message as String .
&self
usage
None
extern crate error_chain_mini;
None
#[macro_use] extern crate error_chain_mini_derive;
None
fn main() {
None
[derive(errorkind, eq, partialeq, debug)]
None
[msg(short = "my error", detailed = "value: {}", value)]
struct MyError {
value: usize,
}
let err = MyError { value: 320 };
assert_eq!(format!("{}", err), err.full()).
struct MyError { value : usize } let err = MyError { value : 320 } ; assert_eq! ( format! ( " {} " err ) err . full () ) .
}
None