Closed kaiserdan closed 4 months ago
@kaiserdan yes would love the help. Does the HTTP/2 spec say what to do in case of unknown errors?
@whatyouhide I don't think it's part of the HTTP spec but rather a custom error code thats generated by some webservers or proxies
I solved it locally by adding a generic case for it it as defp humanize_error_code(_), do: :internal_error
Maybe a dedicated error code makes sense like : undefined_error, :unknown_error, :other_error, or :custom_error ?
Let me know what you prefer!
Yeah I would like something like {:custom_error, code}
. Thoughts? You're welcome to start on a PR and we can continue the discussion there 🙃
The humanize_error_code function should have a generic case for error codes that aren't explicitly defined. I sometimes get a 70007 error which then causes an error in the module. Happy to make a PR for this if you like.