Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
makerio90 opened this issue Nov 9, 2022 · 0 comments
Open
Labels
feature New feature or request

Comments

@makerio90
Copy link

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 makerio90 added the feature New feature or request label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant