Lines Matching refs:Error
5 pub struct Error { struct
14 Value(value_bag::Error), argument
18 impl Error { implementation
21 Error { in msg()
27 pub(super) fn from_value(err: value_bag::Error) -> Self { in from_value()
28 Error { in from_value()
34 pub(super) fn into_value(self) -> value_bag::Error { in into_value() argument
38 _ => value_bag::Error::boxed(self), in into_value()
40 _ => value_bag::Error::msg("error inspecting a value"), in into_value()
45 impl fmt::Display for Error { implementation
53 &Fmt => fmt::Error.fmt(f), in fmt()
58 impl From<fmt::Error> for Error { implementation
59 fn from(_: fmt::Error) -> Self { in from()
60 Error { inner: Inner::Fmt } in from()
69 pub(super) type BoxedError = Box<dyn error::Error + Send + Sync>;
71 impl Error { implementation
77 Error { in boxed()
83 impl error::Error for Error {} implementation
85 impl From<io::Error> for Error { implementation
86 fn from(err: io::Error) -> Self { in from()
87 Error::boxed(err) in from()