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

Yoast / wordpress-seo / 2e9a7dcdf7d8b5591424961f85ca2ddcc971a561

24 Nov 2025 09:14AM UTC coverage: 52.659% (-0.01%) from 52.669%
2e9a7dcdf7d8b5591424961f85ca2ddcc971a561

Pull #22742

github

web-flow
Merge 3ed4c6c79 into 532baabfb
Pull Request #22742: Adds error handling in backend endpoints

8307 of 15569 branches covered (53.36%)

Branch coverage included in aggregate %.

0 of 15 new or added lines in 5 files covered. (0.0%)

1 existing line in 1 file now uncovered.

31811 of 60615 relevant lines covered (52.48%)

47569.19 hits per line

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

0.0
/src/task-list/domain/exceptions/complete-hello-world-task-exception.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
3
namespace Yoast\WP\SEO\Task_List\Domain\Exceptions;
4

5
use Exception;
6

7
/**
8
 * Exception for when we can't complete the hello world task.
9
 */
10
class Complete_Hello_World_Task_Exception extends Exception {
11

12
        /**
13
         * Constructor of the exception.
14
         */
NEW
15
        public function __construct() {
×
NEW
16
                parent::__construct( \esc_html__( 'Failed to delete the Hello World post.', 'wordpress-seo' ), 400 );
×
17
        }
18
}
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