Skip to content

Latest commit

 

History

History
98 lines (34 loc) · 938 Bytes

AggregateException.md

File metadata and controls

98 lines (34 loc) · 938 Bytes

AggregateException

Exception thrown when too many errors occur in the some() or any() methods.

Methods

__construct

public __construct(mixed $msg, array $reasons): mixed

Parameters:

Parameter Type Description
$msg mixed
$reasons array

Inherited methods

__construct

public __construct(mixed $reason, string $description = null): mixed

Parameters:

Parameter Type Description
$reason mixed Rejection reason.
$description string Optional description

getReason

Returns the rejection reason.

public getReason(): mixed