Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-admin
/
wp-includes
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
Api
:
StatusResolverFailedException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Internal\Api; /** * 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. * * @internal */ final class StatusResolverFailedException extends \RuntimeException { }