# wordpress-seo/18.2/src/exceptions/indexable/term-not-found-exception.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.2/code/src/exceptions/indexable/term-not-found-exception.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.2/raw/src/exceptions/indexable/term-not-found-exception.php
- Modified: 2021-05-18T13:42:44+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/18.2/code/src/exceptions/indexable/term-not-found-exception.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Exceptions\Indexable;

/**
 * Exception that is thrown whenever a term could not be found
 * in the context of the indexables.
 */
class Term_Not_Found_Exception extends Source_Exception {

	/**
	 * Exception that is thrown whenever a term could not be found
	 * in the context of the indexables.
	 */
	public function __construct() {
		parent::__construct( \__( 'The term could not be found.', 'wordpress-seo' ) );
	}
}

```
