• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / 329e7257b699570577e9617a4ea672714686da15

26 Jan 2026 07:52AM UTC coverage: 52.923% (-0.4%) from 53.35%
329e7257b699570577e9617a4ea672714686da15

Pull #22888

github

web-flow
Merge 00d428c6c into ff2f33de1
Pull Request #22888: Add integration tests for analytics adapter

8393 of 15825 branches covered (53.04%)

Branch coverage included in aggregate %.

32383 of 61223 relevant lines covered (52.89%)

47097.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/ai-http-request/domain/exceptions/wp-request-exception.php
1
<?php
2

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

6
use Throwable;
7

8
/**
9
 * Class to manage an error response in wp_remote_*() requests.
10
 *
11
 * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
12
 */
13
class WP_Request_Exception extends Remote_Request_Exception {
14

15
        /**
16
         * WP_Request_Exception constructor.
17
         *
18
         * @param string          $message  The error message.
19
         * @param Throwable| null $previous The previously thrown exception.
20
         */
21
        public function __construct( $message = '', $previous = null ) {
×
22
                parent::__construct( $message, 400, 'WP_HTTP_REQUEST_ERROR', $previous );
×
23
        }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc