@@ 15-24 (lines=10) @@ | ||
12 | * @copyright 2012-2016 Nyx Dev Team |
|
13 | * @link http://docs.muyo.io/nyx/diagnostics/debug.html |
|
14 | */ |
|
15 | class ClassNotFound extends exceptions\FatalError |
|
16 | { |
|
17 | /** |
|
18 | * {@inheritDoc} |
|
19 | */ |
|
20 | public function __construct(string $message, \ErrorException $previous) |
|
21 | { |
|
22 | parent::__construct($message, $previous->getCode(), $previous->getSeverity(), $previous->getFile(), $previous->getLine(), $previous->getPrevious()); |
|
23 | } |
|
24 | } |
|
25 |
@@ 15-24 (lines=10) @@ | ||
12 | * @copyright 2012-2016 Nyx Dev Team |
|
13 | * @link http://docs.muyo.io/nyx/diagnostics/debug.html |
|
14 | */ |
|
15 | class UndefinedFunction extends exceptions\FatalError |
|
16 | { |
|
17 | /** |
|
18 | * {@inheritDoc} |
|
19 | */ |
|
20 | public function __construct(string $message, \ErrorException $previous) |
|
21 | { |
|
22 | parent::__construct($message, $previous->getCode(), $previous->getSeverity(), $previous->getFile(), $previous->getLine(), $previous->getPrevious()); |
|
23 | } |
|
24 | } |
|
25 |