Skip to content

Releases: stretchr/stretchr-backbone

V1.1.0

18 Jan 20:58
Compare
Choose a tag to compare

Improved error handling, incremented version since the error interface changed a bit.

Now, when a sync event encounters an error, it will pass the raw Stretchr response as the error to let you do with it what you want. For example, for a 404 you'll get:

{
  "~status" : 404
}

And for a 400, you'll get:

{
  "~status" : 400,
  "~errors" : [
    {"~message" : "message here"}
  ]
}

v1.0

18 Jan 00:28
Compare
Choose a tag to compare

Full featured backbone adapter.