apollo-server-errors
Advanced tools
Comparing version 2.2.2-alpha.0 to 2.2.2-alpha.1
@@ -45,3 +45,3 @@ import { GraphQLError, GraphQLFormattedError } from 'graphql'; | ||
} | ||
export declare function formatApolloErrors(errors: Array<Error>, options?: { | ||
export declare function formatApolloErrors(errors: ReadonlyArray<Error>, options?: { | ||
formatter?: (error: GraphQLError) => GraphQLFormattedError; | ||
@@ -48,0 +48,0 @@ debug?: boolean; |
{ | ||
"name": "apollo-server-errors", | ||
"version": "2.2.2-alpha.0", | ||
"version": "2.2.2-alpha.1", | ||
"author": "opensource@apollographql.com", | ||
@@ -22,3 +22,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "9e9543f6b7f7ce0b6ce6d59f06f10f4ec18d8a26" | ||
"gitHead": "551c7580cdc3082f590ce2c52161e51496d45cf7" | ||
} |
@@ -214,3 +214,3 @@ import { GraphQLError, GraphQLFormattedError } from 'graphql'; | ||
export function formatApolloErrors( | ||
errors: Array<Error>, | ||
errors: ReadonlyArray<Error>, | ||
options?: { | ||
@@ -217,0 +217,0 @@ formatter?: (error: GraphQLError) => GraphQLFormattedError; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24580