apollo-server-errors
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -1,2 +0,2 @@ | ||
import { GraphQLError } from 'graphql'; | ||
import { GraphQLError, GraphQLFormattedError } from 'graphql'; | ||
export declare class ApolloError extends Error implements GraphQLError { | ||
@@ -46,5 +46,5 @@ extensions: Record<string, any>; | ||
export declare function formatApolloErrors(errors: Array<Error>, options?: { | ||
formatter?: Function; | ||
formatter?: (error: GraphQLError) => GraphQLFormattedError; | ||
debug?: boolean; | ||
}): Array<ApolloError>; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "apollo-server-errors", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": "opensource@apollographql.com", | ||
@@ -22,3 +22,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "6bd73b175ff628a5e9858e2a5da1aa9dab5ed348" | ||
"gitHead": "879ed190349eded2221e5b9827281a4f6ae86660" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { GraphQLError } from 'graphql'; | ||
import { GraphQLError, GraphQLFormattedError } from 'graphql'; | ||
@@ -216,3 +216,3 @@ export class ApolloError extends Error implements GraphQLError { | ||
options?: { | ||
formatter?: Function; | ||
formatter?: (error: GraphQLError) => GraphQLFormattedError; | ||
debug?: boolean; | ||
@@ -219,0 +219,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23616