Enum testdrive::Error [−][src]
pub enum Error {
Input {
err: InputError,
details: Option<InputDetails>,
},
General {
ctx: String,
causes: Vec<Box<dyn StdError + Send + Sync>>,
hints: Vec<String>,
},
}
Expand description
A testdrive error.
Variants
Input
An error in parsing a testdrive script.
General
Fields
ctx: String
The component in which the error occurred.
Other errors.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more