| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Exceptions\Indexable; |
| 4 |
|
| 5 |
/** |
| 6 |
* Exception that is thrown whenever a post could not be found |
| 7 |
* in the context of the indexables. |
| 8 |
*/ |
| 9 |
class Post_Not_Found_Exception extends Source_Exception { |
| 10 |
|
| 11 |
/** |
| 12 |
* Exception that is thrown whenever a post could not be found |
| 13 |
* in the context of the indexables. |
| 14 |
*/ |
| 15 |
public function __construct() { |
| 16 |
parent::__construct( \__( 'The post could not be found.', 'wordpress-seo' ) ); |
| 17 |
} |
| 18 |
} |
| 19 |
|