actually expose wsimplerror

This commit is contained in:
Toshit Chawda 2024-11-27 21:33:42 -08:00
parent 5b3fc56b38
commit f942c0a7c6
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

@ -65,7 +65,7 @@ pub enum WispError {
#[error("Unfinished websocket frame")] #[error("Unfinished websocket frame")]
WsFrameNotFinished, WsFrameNotFinished,
/// Error specific to the websocket implementation. /// Error specific to the websocket implementation.
#[error("Websocket implementation error:")] #[error("Websocket implementation error: {0:?}")]
WsImplError(Box<dyn std::error::Error + Sync + Send>), WsImplError(Box<dyn std::error::Error + Sync + Send>),
/// The websocket implementation socket closed. /// The websocket implementation socket closed.
#[error("Websocket implementation error: socket closed")] #[error("Websocket implementation error: socket closed")]