We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When an unknown image type gets decoded in the x/image/webp a unexported error is returned . This should probably be exported.
This would allow us to catch it better than doing string parsing to catch the error type.
https://cs.opensource.google/go/x/image/+/refs/tags/v0.21.0:webp/decode.go;l=19
A separate error with the same message is used here as well and should be updated to use the same type. https://cs.opensource.google/go/x/image/+/refs/tags/v0.21.0:webp/decode.go;l=176
The text was updated successfully, but these errors were encountered:
CC @nigeltao
Sorry, something went wrong.
No branches or pull requests
Proposal Details
When an unknown image type gets decoded in the x/image/webp a unexported error is returned . This should probably be exported.
This would allow us to catch it better than doing string parsing to catch the error type.
https://cs.opensource.google/go/x/image/+/refs/tags/v0.21.0:webp/decode.go;l=19
A separate error with the same message is used here as well and should be updated to use the same type.
https://cs.opensource.google/go/x/image/+/refs/tags/v0.21.0:webp/decode.go;l=176
The text was updated successfully, but these errors were encountered: