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

Breadcrumb

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

function UncaughtThrowable::throwingCallback

1 call to UncaughtThrowable::throwingCallback()
AbstractDriver::error in vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php
Invokes the error handler with the given exception.

File

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

Class

UncaughtThrowable

Namespace

Revolt\EventLoop

Code

public static function throwingCallback(\Closure $closure, \Throwable $previous) : self {
    return new self("Uncaught %s thrown in event loop callback %s; use Revolt\\EventLoop::setErrorHandler() to gracefully handle such exceptions%s", $closure, $previous);
}

API Navigation

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