| Server IP : 45.77.68.45 / Your IP : 127.0.0.100 Web Server : PHPix/0.2.2 (Caddy compatible) System : wasi wasmer.sh 0.0.0 0.0.0 wasm32 User : ( 1) PHP Version : 8.3.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /app/wp-content/plugins/wordpress-seo/src/dashboard/domain/analytics-4/ |
Upload File : |
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Dashboard\Domain\Analytics_4;
use Exception;
/**
* Exception for when an Analytics 4 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 Analytics 4 request failed: ' . $error_message, $error_status_code );
}
}