Closed wvteijlingen closed 8 years ago
Currently we use NSError objects to represent errors returned in the API response. This makes it hard to access all the error fields that JSON:API specifies. It's probably better to use a custom struct for this,
See the https://github.com/wvteijlingen/Spine/tree/swifty-errors branch.
Currently we use NSError objects to represent errors returned in the API response. This makes it hard to access all the error fields that JSON:API specifies. It's probably better to use a custom struct for this,