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

Breadcrumb

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

function Driver::getErrorHandler

Gets the error handler closure or {@code null} if none is set.

Return value

null|\Closure(\Throwable):void The previous handler, `null` if there was none.

2 methods override Driver::getErrorHandler()
AbstractDriver::getErrorHandler in vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php
Gets the error handler closure or {@code null} if none is set.
TracingDriver::getErrorHandler in vendor/revolt/event-loop/src/EventLoop/Driver/TracingDriver.php
Gets the error handler closure or {@code null} if none is set.

File

vendor/revolt/event-loop/src/EventLoop/Driver.php, line 261

Class

Driver
The driver MUST run in its own fiber and execute callbacks in a separate fiber. If fibers are reused, the driver needs to call {

Namespace

Revolt\EventLoop

Code

public function getErrorHandler() : ?\Closure;

API Navigation

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