Returns true is the resource had an `Unauthorized` 401 response.
()
| 204 | |
| 205 | /** Returns true is the resource had an `Unauthorized` 401 response. */ |
| 206 | isUnauthorized(): boolean { |
| 207 | return this.error != undefined && isUnauthorized(this.error); |
| 208 | } |
| 209 | |
| 210 | /** Removes the resource form both the server and locally */ |
| 211 | async destroy(store: Store, agent?: Agent): Promise<void> { |
no test coverage detected