PHP Class Amp\MultiReasonException

Inheritance: extends Exception
显示文件 Open project: amphp/amp

Public Methods

Method Description
__construct ( array $reasons, string $message = null )
getReasons ( ) : array

Method Details

__construct() public method

public __construct ( array $reasons, string $message = null )
$reasons array Array of exceptions rejecting the promise.
$message string

getReasons() public method

public getReasons ( ) : array
return array