phasync
WorkerStoppingException / __construct

Method

WorkerStoppingException::__construct

An exception for a worker that stops for $reason; its message names the reason.

Description#

public WorkerStoppingException::__construct(
    StopReason $reason
)

Parameters#

$reason StopReason