Struct capnp::Error [−][src]
Expand description
Describes an arbitrary error that prevented an operation from completing.
Fields
kind: ErrorKind
The general kind of the error. Code that decides how to respond to an error should read only this field in making its decision.
description: String
Human-readable failure description.
Implementations
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more