runtime_src.graphqlmeshsdkerror
#
Class: GraphQLMeshSdkError<Data, Variables\>runtime/src.GraphQLMeshSdkError
#
Type parametersName | Default |
---|---|
Data | any |
Variables | any |
#
HierarchyError
↳ GraphQLMeshSdkError
#
Table of contents#
Constructors#
Properties#
Methods#
Constructors#
constructor+ new GraphQLMeshSdkError<Data, Variables\>(errors
: readonly GraphQLError[], document
: DocumentNode, variables
: Variables, data
: Data): GraphQLMeshSdkError<Data, Variables\>
#
Type parameters:Name | Default |
---|---|
Data | any |
Variables | any |
#
Parameters:Name | Type |
---|---|
errors | readonly GraphQLError[] |
document | DocumentNode |
variables | Variables |
data | Data |
Returns: GraphQLMeshSdkError<Data, Variables\>
Overrides: Error.constructor
Defined in: packages/runtime/src/get-mesh.ts:231
#
Properties#
data• data: Data
#
document• document: DocumentNode
#
errors• errors: readonly GraphQLError[]
#
message• message: string
Inherited from: Error.message
Defined in: node_modules/typescript/lib/lib.es5.d.ts:974
#
name• name: string
Inherited from: Error.name
Defined in: node_modules/typescript/lib/lib.es5.d.ts:973
#
stack• Optional
stack: string
Inherited from: Error.stack
Defined in: node_modules/typescript/lib/lib.es5.d.ts:975
#
variables• variables: Variables
#
prepareStackTraceâ–ª Static
Optional
prepareStackTrace: (err
: Error, stackTraces
: CallSite[]) => any
Optional override for formatting stack traces
see
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
#
Type declaration:â–¸ (err
: Error, stackTraces
: CallSite[]): any
#
Parameters:Name | Type |
---|---|
err | Error |
stackTraces | CallSite[] |
Returns: any
Defined in: node_modules/@types/node/globals.d.ts:11
Inherited from: Error.prepareStackTrace
Defined in: node_modules/@types/node/globals.d.ts:11
#
stackTraceLimitâ–ª Static
stackTraceLimit: number
Inherited from: Error.stackTraceLimit
Defined in: node_modules/@types/node/globals.d.ts:13
#
Methods#
captureStackTraceâ–¸ Static
captureStackTrace(targetObject
: object, constructorOpt?
: Function): void
Create .stack property on a target object
#
Parameters:Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns: void
Inherited from: Error.captureStackTrace
Defined in: node_modules/@types/node/globals.d.ts:4