Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| UnreachableException | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | declare( strict_types = 1 ); |
| 3 | |
| 4 | namespace Wikimedia\Assert; |
| 5 | |
| 6 | use LogicException; |
| 7 | |
| 8 | /** |
| 9 | * Exception indicating that a code path expected to be unreachable was reached. |
| 10 | * This generally means an error in the internal logic of a function, or a |
| 11 | * serious problem in the runtime environment. |
| 12 | * |
| 13 | * @since 0.5.1 |
| 14 | * |
| 15 | * @license MIT |
| 16 | * @author C. Scott Ananian |
| 17 | */ |
| 18 | class UnreachableException extends LogicException implements AssertionException { |
| 19 | |
| 20 | } |