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

Breadcrumb

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

function ErrorHandler::setExceptionHandler

File

vendor/symfony/error-handler/ErrorHandler.php, line 282

Class

ErrorHandler
A generic ErrorHandler for the PHP engine.

Namespace

Symfony\Component\ErrorHandler

Code

public function setExceptionHandler(?callable $handler) : ?callable {
    $prev = $this->exceptionHandler;
    $this->exceptionHandler = $handler;
    return $prev;
}

API Navigation

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