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
Http.Error
task doesn't appear to provide any way of getting Http.Error values when errors occur.
task
The text was updated successfully, but these errors were encountered:
http/src/Http.elm
Lines 538 to 543 in 34a9a27
important values like response body when http status != 2xx and http headers are not stored in the Http.Error values at all
Alternatives are
https://package.elm-lang.org/packages/jzxhuang/http-extras/latest/Http-Detailed#Error
type Error body = BadUrl String | Timeout | NetworkError | BadStatus Http.Metadata body | BadBody Http.Metadata body String
https://package.elm-lang.org/packages/choonkeat/elm-ext-http/latest/Ext-Http#Error
type Error a = BadUrl String | Timeout | NetworkError | BadStatus Http.Metadata a | BadJson Http.Metadata a Json.Decode.Error
Sorry, something went wrong.
No branches or pull requests
task
doesn't appear to provide any way of gettingHttp.Error
values when errors occur.The text was updated successfully, but these errors were encountered: