The original implementation matched the regexp against error.message; this new one tries that first for backwards-compatibility, but it now also checks the error.response.body for a match. In our experience, this is where the information is now located.