Skip to content

Commit 35e0113

Browse files
committed
KRF-380 #resolve Cleaned providers
1 parent 60d173d commit 35e0113

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ErrorHandler.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
use Kraken\Throwable\Error\FatalError;
66
use Kraken\Throwable\Error\NoticeError;
7-
use Kraken\Throwable\Error\UndefinedError;
87
use Kraken\Throwable\Error\WarningError;
9-
use Error;
10-
use Exception;
118

129
abstract class ErrorHandler
1310
{
@@ -82,11 +79,11 @@ public static function handleShutdown($forceKill = false)
8279
{
8380
static::handleError($err['type'], $err['message'], $err['file'], $err['line']);
8481
}
85-
catch (Error $ex)
82+
catch (\Error $ex)
8683
{
8784
echo call_user_func(static::$errHandler, $ex) . PHP_EOL;
8885
}
89-
catch (Exception $ex)
86+
catch (\Exception $ex)
9087
{
9188
echo call_user_func(static::$excHandler, $ex) . PHP_EOL;
9289
}

0 commit comments

Comments
 (0)