Struct vrp_pragmatic::format::FormatError [−][src]
pub struct FormatError {
pub code: String,
pub cause: String,
pub action: String,
pub details: Option<String>,
}Expand description
A format error.
Fields
code: StringAn error code in registry.
cause: StringA possible error cause.
action: StringAn action to take in order to recover from error.
details: Option<String>A details about exception.
Implementations
Creates a new instance of FormatError action without details.
Creates a new instance of FormatError action.
Formats multiple format errors into json string.
Formats multiple format errors into string.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl UnwindSafe for FormatError
Blanket Implementations
Mutably borrows from an owned value. Read more