# wordpress-seo/trunk/src/task-list/domain/exceptions/complete-llms-task-exception.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/task-list/domain/exceptions/complete-llms-task-exception.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/task-list/domain/exceptions/complete-llms-task-exception.php
- Modified: 2026-01-20T12:23:48+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/task-list/domain/exceptions/complete-llms-task-exception.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Task_List\Domain\Exceptions;

use Exception;

/**
 * Exception for when we can't complete the llms.txt task.
 */
class Complete_LLMS_Task_Exception extends Exception {

	/**
	 * Constructor of the exception.
	 */
	public function __construct() {
		parent::__construct( \esc_html__( 'Failed to enable llms.txt option.', 'wordpress-seo' ), 400 );
	}
}

```
