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
3declare(strict_types=1);
4
5namespace 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 */
16final class FormValidationException extends \RuntimeException {
17
18}

Branches

Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once. Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.