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

Breadcrumb

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

interface ErrorHandler

Hierarchy

  • interface \PhpParser\ErrorHandler

Expanded class hierarchy of ErrorHandler

All classes that implement ErrorHandler

4 files declare their use of ErrorHandler
Collecting.php in vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
Emulative.php in vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php
NameResolver.php in vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php
Throwing.php in vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php
1 string reference to 'ErrorHandler'
YamlPecl::decode in core/lib/Drupal/Component/Serialization/YamlPecl.php
Decodes data from the serialization format.

File

vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php, line 5

Namespace

PhpParser
View source
interface ErrorHandler {
    
    /**
     * Handle an error generated during lexing, parsing or some other operation.
     *
     * @param Error $error The error that needs to be handled
     */
    public function handleError(Error $error) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ErrorHandler::handleError public function Handle an error generated during lexing, parsing or some other operation. 2

API Navigation

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