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

Breadcrumb

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

function EventLoop::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.

File

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

Class

EventLoop
Accessor to allow global access to the event loop.

Namespace

Revolt

Code

public static function getErrorHandler() : ?\Closure {
    return self::getDriver()->getErrorHandler();
}

API Navigation

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