class ProcessIdleTimedOutException extends ProcessTimedOutException

Properties

ProcessResult $result

The process result instance.

from  ProcessTimedOutException
protected ProcessTimedOutException $original

The original Symfony exception instance.

from  ProcessTimedOutException

Methods

__construct(ProcessTimedOutException $original, ProcessResult $result)

Create a new exception instance.

make(ProcessTimedOutException $original, ProcessResult $result)

Create a new exception instance for the type of timeout that occurred.

float|null
exceededTimeout()

Get the number of seconds the process was allowed to run before timing out.

Details

__construct(ProcessTimedOutException $original, ProcessResult $result)

Create a new exception instance.

Parameters

ProcessTimedOutException $original
ProcessResult $result

static ProcessTimedOutException make(ProcessTimedOutException $original, ProcessResult $result)

Create a new exception instance for the type of timeout that occurred.

Parameters

ProcessTimedOutException $original
ProcessResult $result

Return Value

ProcessTimedOutException

float|null exceededTimeout()

Get the number of seconds the process was allowed to run before timing out.

Return Value

float|null