diff --git a/src/lib.rs b/src/lib.rs index 028edf8..9b83b47 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -160,6 +160,9 @@ pub enum Error { Dropped, } +#[cfg(feature = "std")] +impl std::error::Error for Error {} + /// The result type for the networking stack. pub type Result = core::result::Result;