class ResolverFailure extends Exception (View source)

Captures a failure that happened within a resolver. Designed to add context to the failure, as a chain of closures in a nested query can be very hard to debug.

Methods

public
__construct(callable $callable, array $resolverArgs, string $error)

No description

Details

__construct(callable $callable, array $resolverArgs, string $error)

No description

Parameters

callable $callable
array $resolverArgs
string $error