ParallelExecutionException
class ParallelExecutionException extends RuntimeException
Exception thrown when parallel execution encounters one or more errors.
This exception aggregates all throwables from failed parallel tasks while also preserving successful results.
Properties
| protected array | $results | ||
| protected Throwable> | $throwables |
Methods
array
getResults()
Get the successful results from parallel execution.
void
setResults(array $results)
Set the successful results from parallel execution.
array
getThrowables()
Get the throwables from failed parallel tasks.
array
setThrowables(array $throwables)
Set the throwables from failed parallel tasks.
Details
at line 28
array
getResults()
Get the successful results from parallel execution.
at line 36
void
setResults(array $results)
Set the successful results from parallel execution.
at line 46
array
getThrowables()
Get the throwables from failed parallel tasks.
at line 57
array
setThrowables(array $throwables)
Set the throwables from failed parallel tasks.