• File: invalid-tasks-exception.php
  • Full Path: /home/docteuh/www/serverhttpson/exceptions/invalid-tasks-exception.php
  • Date Modified: 06/23/2026 4:19 PM
  • File size: 400 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

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

use Exception;

/**
 * Exception for invalid tasks.
 */
class Invalid_Tasks_Exception extends Exception {

	/**
	 * Constructor of the exception.
	 */
	public function __construct() {
		parent::__construct( 'Added invalid task.', 400 );
	}
}