warp icon indicating copy to clipboard operation
warp copied to clipboard

`warp::filters::ws::Message::to_str(&self)` should have more verbose errors

Open makerio90 opened this issue 2 years ago • 0 comments

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.

makerio90 avatar Nov 09 '22 03:11 makerio90