warp::filters::ws::Message::to_str(&self)
should have more verbose errors
#1004
Labels
feature
New feature or request
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, ()>
returnResult<&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.The text was updated successfully, but these errors were encountered: