We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
originalError
1 parent c7ab7eb commit 8aea0c9Copy full SHA for 8aea0c9
src/error/GraphQLError.d.ts
@@ -76,7 +76,7 @@ export class GraphQLError extends Error {
76
/**
77
* The original error thrown from a field resolver during execution.
78
*/
79
- readonly originalError: Error | undefined;
+ readonly originalError: Error | undefined | null;
80
81
82
* Extension fields to add to the formatted error.
src/error/GraphQLError.js
@@ -56,7 +56,7 @@ export class GraphQLError extends Error {
56
57
58
59
- +originalError: Error | void;
+ +originalError: Error | void | null;
60
61
62
0 commit comments