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
Namespace
Revolt\EventLoopCode
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);
}