UNPKG
json-api-deserialize
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0-alpha.0
A deserializer for JSON:API responses
json-api-deserialize
/
src
/
meta
/
error.interface.ts
13 lines
(12 loc)
•
244 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export
default
interface
IError
{
id
?:
any
;
// JSON:API spec just says "a unique identifier"
links
?: {
about
?:
string
; };
status
?:
string
;
code
?:
string
;
title
?:
string
;
detail
?:
string
;
source
?:
object
;
meta
?:
object
; };