Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| FormValidationException | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Drupal\display_builder\Exception; |
| 6 | |
| 7 | /** |
| 8 | * Thrown when island form validation fails during a builder API request. |
| 9 | * |
| 10 | * The exception message contains the first human-readable validation error |
| 11 | * produced by the form. Callers convert it to an HTMX error response. |
| 12 | * |
| 13 | * Extends \RuntimeException so callers can catch it selectively without |
| 14 | * catching all possible exceptions. |
| 15 | */ |
| 16 | final class FormValidationException extends \RuntimeException { |
| 17 | |
| 18 | } |
Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.