| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class Exception extends \Exception implements ExceptionInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Creates a new exception using a format and values. |
||
| 16 | * |
||
| 17 | * @param mixed $value,... The value(s). |
||
| 18 | */ |
||
| 19 | public static function create(string $format, $value = null): self |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Creates an exception for the last error message. |
||
| 30 | */ |
||
| 31 | public static function lastError(): self |
||
| 38 |