warp
warp copied to clipboard
`warp::filters::ws::Message::to_str(&self)` should have more verbose errors
Is your feature request related to a problem? Please describe.
i keep geting errors that error converting to string
with no context as to why it couldent.
Describe the solution you'd like
instead of returning Result<&str, ()>
return Result<&str, impl std::error::Error>
Describe alternatives you've considered n/a
Additional context
i see from scrolling through the src code that its prob because my data is not of type String
but ether way a error type of ()
is not acceptible.