Automattic\WooCommerce\Internal\Api
StatusResolverFailedException{}
Internal sentinel raised by {@see GraphQLController::pick_status()} when a plugin-supplied HTTP status resolver throws.
The resolver is documented as "must not throw"; this exception lets the controller distinguish a resolver bug from any other Throwable so it can short-circuit to a fixed-shape 500 response without re-invoking the resolver. Never surfaced on the wire.
Хуков нет.
Использование
$StatusResolverFailedException = new StatusResolverFailedException(); // use class methods
Методы
Нет Методов у класса.Код StatusResolverFailedException{} StatusResolverFailedException{} WC 10.9.1
final class StatusResolverFailedException extends \RuntimeException {
}