class ProcessTimedOutException extends RuntimeException

Properties

ProcessResult $result

The process result instance.

protected ProcessTimedOutException $original

The original Symfony exception instance.

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

at line 26
__construct(ProcessTimedOutException $original, ProcessResult $result)

Create a new exception instance.

Parameters

ProcessTimedOutException $original
ProcessResult $result

at line 37
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

at line 47
float|null exceededTimeout()

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

Return Value

float|null