Phase 5: Content and SEO - Yoast SEO, Schema.org markup, Open Graph, favicon support, XML sitemap

This commit is contained in:
Hanson.xyz Dev
2025-11-28 17:10:24 -06:00
parent c4f29a3152
commit 91de533da4
1552 changed files with 171432 additions and 7 deletions
@@ -0,0 +1,21 @@
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Dashboard\Domain\Search_Console;
use Exception;
/**
* Exception for when a search console request fails.
*/
class Failed_Request_Exception extends Exception {
/**
* Constructor of the exception.
*
* @param string $error_message The error message of the request.
* @param int $error_status_code The error status code of the request.
*/
public function __construct( $error_message, $error_status_code ) {
parent::__construct( 'The Search Console request failed: ' . $error_message, $error_status_code );
}
}