holidayextras / jsonapi-client

Easily consume a json:api service in Javascript.
MIT License
68 stars 19 forks source link

Safer Error Extraction #27

Closed theninj4 closed 8 years ago

theninj4 commented 8 years ago

In master, we don't check an error response is valid before trying to extract error messages from it. This can cause unexpected errors to be thrown if a backend service doesn't behave as expected.

Fixes #13