frame: make StdIoError transparent
Shadowing the actual error message with a static string is harmful,
let's just show the full original error instead.
Fixes
@@ -19,7 +19,7 @@ pub enum FrameError {
FrameDecompression,
#[error("Frame compression failed.")]
FrameCompression,
- #[error("std io error encountered while processing")]
+ #[error(transparent)]
StdIoError(#[from] std::io::Error),
#[error("Unrecognized opcode{0}")]
TryFromPrimitiveError(#[from] num_enum::TryFromPrimitiveError<response::ResponseOpcode>),
