Skip to content
module@warp-drive/core/types/spec/document

Interface ResourceErrorDocument ​

Defined in: warp-drive-packages/core/src/types/spec/document.ts:104

A type useful for representing the raw {json:api} Error documents that the cache may use.

For the Reactive value returned by a request using the store, use ReactiveErrorDocument instead.

Properties ​

errors ​

ts
errors: ApiError[];

Defined in: warp-drive-packages/core/src/types/spec/document.ts:120

the errors the document represents


lid? ​

ts
optional lid?: string;

Defined in: warp-drive-packages/core/src/types/spec/document.ts:108

the url or cache-key associated with the structured document


ts
optional links?: 
  | Links
  | PaginationLinks;

Defined in: warp-drive-packages/core/src/types/spec/document.ts:112

links related to the document


meta? ​

ts
optional meta?: ObjectValue;

Defined in: warp-drive-packages/core/src/types/spec/document.ts:116

meta information about the document

Released under the MIT License.