Skip to main content
Version: Next (2.x)

aggregateErrorResolver()

aggregateErrorResolver(err): 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

Returns

any