Closed kaiserdan closed 4 months ago
Nice! We will need a test for this, can you add one?
Does that look good, or is there a better way to test it?
Totals | |
---|---|
Change from base Build 4f0c534fa5c0d7b6a4653aeb957bd99c38779560: | 0.02% |
Covered Lines: | 1277 |
Relevant Lines: | 1461 |
Sometimes webservers respond with custom error codes which causes a FunctionClauseError in the humanize_error_code function. This change adds a generic case of the function that handles those cases.
Closes https://github.com/elixir-mint/mint/issues/437.