Yoast\WP\SEO\AI\HTTP_Request\Domain\Exceptions
Insufficient_Scope_Exception{}└─ Forbidden_Exception
Thrown when the AI service rejects a request with a 403 carrying error="insufficient_scope".
This is distinct from a generic Forbidden_Exception{} because the recovery path differs: a consent-revoked 403 should clear the user's consent and surface a re-consent prompt; a scope failure should NOT touch consent (it's a deployment / token-issuance problem). Callers that catch Forbidden_Exception to revoke consent must catch Insufficient_Scope_Exception first and re-throw it untouched.
Хуков нет.
Использование
$Insufficient_Scope_Exception = new Insufficient_Scope_Exception(); // use class methods
Методы
Нет Методов у класса.Код Insufficient_Scope_Exception{} Insufficient Scope Exception{} Yoast 28.9
class Insufficient_Scope_Exception extends Forbidden_Exception {
}