File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
import ExtendableError from 'extendable-error' ;
2
2
export interface ErrorConfig {
3
3
message : string ;
4
- time_thrown : string ;
5
- data : any ;
6
- options : any ;
4
+ time_thrown ? : string ;
5
+ data ? : any ;
6
+ options ? : any ;
7
7
}
8
8
export interface ErrorInfo {
9
9
message : string ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " apollo-errors" ,
3
- "version" : " 1.5 .1" ,
3
+ "version" : " 1.6 .1" ,
4
4
"description" : " Machine-readable custom errors for Apollostack's GraphQL server" ,
5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ const isObject = d => Object.prototype.toString.call(d) === '[object Object]';
6
6
7
7
export interface ErrorConfig {
8
8
message : string ;
9
- time_thrown : string ;
10
- data : any ,
11
- options : any ,
9
+ time_thrown ? : string ;
10
+ data ? : any ,
11
+ options ? : any ,
12
12
}
13
13
14
14
export interface ErrorInfo {
You can’t perform that action at this time.
0 commit comments