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