Makes a best effort to pick a useful name code for a given error code.
The code is assumed to be an HTTP status code if it matches a known status.
This isn't intended to be an exhaustive list of possible code, just
a few codes known to be used in our API, which can be extended later.
Makes a best effort to pick a useful name code for a given error code. The code is assumed to be an HTTP status code if it matches a known status. This isn't intended to be an exhaustive list of possible code, just a few codes known to be used in our API, which can be extended later.