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

Yoast / wordpress-seo / 770ed1344abf98ff7833bde301668530d43f2832

24 Nov 2025 07:52AM UTC coverage: 52.659% (-0.01%) from 52.669%
770ed1344abf98ff7833bde301668530d43f2832

Pull #22742

github

web-flow
Merge 18595141c 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 18 new or added lines in 7 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-llms-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 llms.txt task.
9
 */
10
class Complete_LLMS_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 enable llms.txt option.', '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