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 |
|||||
| InvalidNodeException | 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 a tree operation targets a node that does not exist or invalid. |
| 9 | * |
| 10 | * Examples: attaching to a parent slot that cannot be found, or a node ID |
| 11 | * mismatch detected during a source update. |
| 12 | * |
| 13 | * Extends \RuntimeException so callers can catch it selectively without |
| 14 | * catching all possible exceptions. |
| 15 | */ |
| 16 | final class InvalidNodeException 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.