Skip to main content
Version: 1.x

aggregateErrorResolver()

aggregateErrorResolver(err, path): any

Default error resolver for authorization failures. If multiple authorization errors are encountered they are combined into AggregateGraphQLError with proper HTTP status codes.

Parameters

ParameterType

err

AggregateError

path

string

Returns

any