# wordpress-seo/trunk/src/myyoast-client/domain/exceptions/invalid-resource-exception.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 17 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/myyoast-client/domain/exceptions/invalid-resource-exception.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/myyoast-client/domain/exceptions/invalid-resource-exception.php
- Modified: 2026-06-09T13:16:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/myyoast-client/domain/exceptions/invalid-resource-exception.php#L10-L20`.

```php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.

namespace Yoast\WP\SEO\MyYoast_Client\Domain\Exceptions;

use InvalidArgumentException;

/**
 * Exception thrown when a resource indicator (RFC 8707) is malformed.
 *
 * Callers translate this into their flow-specific exception
 * (Authorization_Flow_Exception or Token_Request_Failed_Exception).
 */
class Invalid_Resource_Exception extends InvalidArgumentException {

}

```
