GetComplexityError()
GetComplexityError = (
kind
,limits
,results
) =>GraphQLError
Function type for creating custom complexity error messages.
Parameters
Parameter | Type | Description |
---|---|---|
|
The type of complexity limit that was exceeded | |
|
|
The maximum allowed value |
|
|
The actual value that exceeded the limit |
Returns
GraphQLError
A GraphQL error with a custom message