class Throwing
Error handler that handles all errors by throwing them.
This is the default strategy used by all components.
Hierarchy
- class \PhpParser\ErrorHandler\Throwing implements \PhpParser\ErrorHandler
Expanded class hierarchy of Throwing
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ ErrorHandler/ Throwing.php, line 13
Namespace
PhpParser\ErrorHandlerView source
class Throwing implements ErrorHandler {
public function handleError(Error $error) : void {
throw $error;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Throwing::handleError | public | function | Handle an error generated during lexing, parsing or some other operation. | Overrides ErrorHandler::handleError |