phasync\CancelledException::rebuildStackTrace() public

Documentation

This function ensures that exceptions appear to be thrown from the right place even if they are thrown by phasync via the Fiber API.

Signature

public function rebuildStackTrace(): void

Returns

void

Source

src/Internal/RethrowExceptionTrait.php:17-58