While it is very tempting to just use Http.Error that comes with the standard elm/http. It does not contain important values needed to troubleshoot production issues, e.g. http response headers. Once your codebase is scattered with Http.Error, it is onerous to troubleshoot parts of your app without affecting others.
It is also common for Http resolver functions to only return the json decoded value. But equally important are the http response headers, e.g. how many more http api calls can I make before I'm throttled?
This module provides
Ext.Http.ErrorjsonResolveridentityResolver useful for decoding non-json payloads like Bytes or StringAdditionally, helper functions are provided to