| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class Exception extends RootException implements ExceptionInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Creates a new exception using a format and values. |
||
| 28 | * |
||
| 29 | * @param string $format the format |
||
| 30 | * @param mixed $value,... The value(s). |
||
| 31 | * |
||
| 32 | * @return Exception the exception |
||
| 33 | */ |
||
| 34 | public static function create($format, $value = null): self |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Creates an exception for the last error message. |
||
| 45 | * |
||
| 46 | * @return Exception the exception |
||
| 47 | */ |
||
| 48 | public static function lastError(): self |
||
| 55 |