NullVoxPopuli / ember-resources

An implementation of Resources. Supports ember 3.28+

Home Page:https://github.com/NullVoxPopuli/ember-resources/blob/main/docs/docs/README.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RemoteData: if status is >= 400, isError should be true

NullVoxPopuli opened this issue · comments

https://github.com/NullVoxPopuli/ember-resources/blob/main/ember-resources/src/util/remote-data.ts#L126

Currently, isError is only true when fetch rejects. Which it won't for 404s against non-json apis.