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

Breadcrumb

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

interface ErrorEnhancerInterface

Hierarchy

  • interface \Symfony\Component\ErrorHandler\ErrorEnhancer\ErrorEnhancerInterface

Expanded class hierarchy of ErrorEnhancerInterface

All classes that implement ErrorEnhancerInterface

1 file declares its use of ErrorEnhancerInterface
ErrorHandler.php in vendor/symfony/error-handler/ErrorHandler.php

File

vendor/symfony/error-handler/ErrorEnhancer/ErrorEnhancerInterface.php, line 14

Namespace

Symfony\Component\ErrorHandler\ErrorEnhancer
View source
interface ErrorEnhancerInterface {
    
    /**
     * Returns an \Throwable instance if the class is able to improve the error, null otherwise.
     */
    public function enhance(\Throwable $error) : ?\Throwable;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ErrorEnhancerInterface::enhance public function Returns an \Throwable instance if the class is able to improve the error, null otherwise. 3

API Navigation

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