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 | } |