| 1 |
<?php |
| 2 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 3 |
|
| 4 |
namespace Yoast\WP\SEO\MyYoast_Client\Domain\Exceptions; |
| 5 |
|
| 6 |
use InvalidArgumentException; |
| 7 |
|
| 8 |
/** |
| 9 |
* Exception thrown when a resource indicator (RFC 8707) is malformed. |
| 10 |
* |
| 11 |
* Callers translate this into their flow-specific exception |
| 12 |
* (Authorization_Flow_Exception or Token_Request_Failed_Exception). |
| 13 |
*/ |
| 14 |
class Invalid_Resource_Exception extends InvalidArgumentException { |
| 15 |
|
| 16 |
} |
| 17 |
|