Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Throwing.php

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\ErrorHandler
View 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal