Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| PreconditionException | 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 RuntimeException; |
| 7 | |
| 8 | /** |
| 9 | * Exception indicating that an precondition assertion failed. |
| 10 | * This generally means a disagreement between the caller and the implementation of a function. |
| 11 | * |
| 12 | * @since 0.1.0 |
| 13 | * |
| 14 | * @license MIT |
| 15 | * @author Daniel Kinzler |
| 16 | * @copyright Wikimedia Deutschland e.V. |
| 17 | */ |
| 18 | class PreconditionException extends RuntimeException implements AssertionException { |
| 19 | |
| 20 | } |