PHP.nl

Fiber::throw

Fiber::throw

Resumes execution of the fiber with an exception

mixed **Fiber::throw** Throwable $exception

Resumes the fiber by throwing the given exception from the current call. Fiber::suspend

If the fiber is not suspended when this method is called, a will be thrown. FiberError

exception The exception to throw into the fiber from the current call. Fiber::suspend

The value provided to the next call to or null if the fiber returns. If the fiber throws an exception before suspending, it will be thrown from the call to this method. Fiber::suspend

Documentatie