Amp\Failure::__construct PHP Méthode

__construct() public méthode

public __construct ( Throwable $exception )
$exception Throwable Rejection reason.
    public function __construct(\Throwable $exception)
    {
        $this->exception = $exception;
    }