Documentation

CancellationException extends RejectionException
in package

Exception that is set as the reason for a promise that has been cancelled.

Table of Contents

$reason  : mixed
__construct()  : mixed
getReason()  : mixed
Returns the rejection reason.

Properties

Methods

__construct()

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

Rejection reason.

$description : string = null

Optional description

Return values
mixed

getReason()

Returns the rejection reason.

public getReason() : mixed
Return values
mixed

Search results