Total Complexity | 5 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class ImportException extends \Exception |
||
17 | { |
||
18 | /** |
||
19 | * OI Error handler |
||
20 | * |
||
21 | * @param int $code |
||
22 | * @param string $string |
||
23 | * @param string $file |
||
24 | * @param int $line |
||
25 | * |
||
26 | * @throws ImportException |
||
27 | */ |
||
28 | public static function error_handler_callback($code, $string, $file, $line) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * OI Exception handler |
||
46 | * |
||
47 | * @param \Exception $exception |
||
48 | * @param \OpenImporter\Template $template |
||
49 | */ |
||
50 | public static function exception_handler($exception, $template = null) |
||
74 |