Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/plugin/authgooglesheets/vendor/guzzlehttp/promises/src/
H A DRejectionException.php13 private $reason; variable in GuzzleHttp\\Promise\\RejectionException
16 * @param mixed $reason Rejection reason.
19 public function __construct($reason, $description = null) argument
21 $this->reason = $reason;
27 } elseif (is_string($reason)
28 || (is_object($reason) && method_exists($reason, '__toString'))
30 $message .= ' with reason: ' . $this->reason;
31 } elseif ($reason instanceof \JsonSerializable) {
33 . json_encode($this->reason, JSON_PRETTY_PRINT);
46 return $this->reason;
H A DRejectedPromise.php13 private $reason; variable in GuzzleHttp\\Promise\\RejectedPromise
15 public function __construct($reason) argument
17 if (is_object($reason) && method_exists($reason, 'then')) {
23 $this->reason = $reason;
36 $reason = $this->reason;
38 $queue->add(static function () use ($p, $reason, $onRejected) {
42 $p->resolve($onRejected($reason));
64 throw Create::exceptionFor($this->reason);
80 public function reject($reason) argument
82 if ($reason !== $this->reason) {
H A DCreate.php36 * @param mixed $reason Promise or reason.
40 public static function rejectionFor($reason) argument
42 if ($reason instanceof PromiseInterface) {
43 return $reason;
46 return new RejectedPromise($reason);
52 * @param mixed $reason
56 public static function exceptionFor($reason) argument
58 if ($reason instanceof \Exception || $reason instanceof \Throwable) {
59 return $reason;
62 return new RejectionException($reason);
/plugin/elasticsearch/vendor/react/promise/src/
H A DUnhandledRejectionException.php7 private $reason; variable in React\\Promise\\UnhandledRejectionException
9 public static function resolve($reason) argument
11 if ($reason instanceof \Exception || $reason instanceof \Throwable) {
12 return $reason;
15 return new static($reason);
18 public function __construct($reason) argument
20 $this->reason = $reason;
22 $message = \sprintf('Unhandled Rejection: %s', \json_encode($reason));
29 return $this->reason;
H A DRejectedPromise.php10 private $reason; variable in React\\Promise\\RejectedPromise
12 public function __construct($reason = null) argument
14 if ($reason instanceof PromiseInterface) {
18 $this->reason = $reason;
28 return resolve($onRejected($this->reason));
39 throw UnhandledRejectionException::resolve($this->reason);
42 $result = $onRejected($this->reason);
45 throw UnhandledRejectionException::resolve($result->reason);
55 if (!_checkTypehint($onRejected, $this->reason)) {
64 return $this->then(null, function ($reason) use ($onFulfilledOrRejected) {
[all …]
/plugin/webdav/vendor/sabre/event/lib/
H A Dcoroutine.php75 function($reason) use ($generator, $advanceGenerator) {
76 if ($reason instanceof Exception) {
77 $generator->throw($reason);
78 } elseif (is_scalar($reason)) {
79 $generator->throw(new Exception($reason));
81 $type = is_object($reason) ? get_class($reason) : gettype($reason);
86 )->error(function($reason) use ($promise) {
90 $promise->reject($reason);
H A DPromise.php158 * @param mixed $reason
161 function reject($reason = null) { argument
166 $this->value = $reason;
208 $reason = $this->value;
209 if ($reason instanceof Exception) {
210 throw $reason;
211 } elseif (is_scalar($reason)) {
212 throw new Exception($reason);
214 $type = is_object($reason) ? get_class($reason) : gettype($reason);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/PaymentsResellerSubscription/
H A DGoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails.php25 public $reason; variable in Google\\Service\\PaymentsResellerSubscription\\GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails
30 public function setReason($reason) argument
32 $this->reason = $reason;
39 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ShoppingContent/
H A DOrdersCancelTestOrderByCustomerRequest.php25 public $reason; variable in Google\\Service\\ShoppingContent\\OrdersCancelTestOrderByCustomerRequest
30 public function setReason($reason) argument
32 $this->reason = $reason;
39 return $this->reason;
H A DOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption.php29 public $reason; variable in Google\\Service\\ShoppingContent\\OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
H A DOrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption.php29 public $reason; variable in Google\\Service\\ShoppingContent\\OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
H A DOrderreturnsRejectOperation.php25 public $reason; variable in Google\\Service\\ShoppingContent\\OrderreturnsRejectOperation
34 public function setReason($reason) argument
36 $this->reason = $reason;
43 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/AuthorizedBuyersMarketplace/
H A DPauseFinalizedDealRequest.php25 public $reason; variable in Google\\Service\\AuthorizedBuyersMarketplace\\PauseFinalizedDealRequest
30 public function setReason($reason) argument
32 $this->reason = $reason;
39 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/AdExchangeBuyerII/
H A DPauseProposalRequest.php25 public $reason; variable in Google\\Service\\AdExchangeBuyerII\\PauseProposalRequest
30 public function setReason($reason) argument
32 $this->reason = $reason;
39 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dataflow/
H A DWorkerShutdownNotice.php25 public $reason; variable in Google\\Service\\Dataflow\\WorkerShutdownNotice
30 public function setReason($reason) argument
32 $this->reason = $reason;
39 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudSupport/
H A DEscalation.php29 public $reason; variable in Google\\Service\\CloudSupport\\Escalation
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Logging/
H A DSuppressionInfo.php25 public $reason; variable in Google\\Service\\Logging\\SuppressionInfo
34 public function setReason($reason) argument
36 $this->reason = $reason;
43 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Calendar/
H A DError.php29 public $reason; variable in Google\\Service\\Calendar\\Error
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CertificateAuthorityService/
H A DRevokeCertificateRequest.php25 public $reason; variable in Google\\Service\\CertificateAuthorityService\\RevokeCertificateRequest
34 public function setReason($reason) argument
36 $this->reason = $reason;
43 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/
H A DGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php29 public $reason; variable in Google\\Service\\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\\GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CertificateManager/
H A DProvisioningIssue.php29 public $reason; variable in Google\\Service\\CertificateManager\\ProvisioningIssue
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudFilestore/
H A DGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php29 public $reason; variable in Google\\Service\\CloudFilestore\\GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudMemorystoreforMemcached/
H A DGoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php29 public $reason; variable in Google\\Service\\CloudMemorystoreforMemcached\\GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Connectors/
H A DLockConfig.php29 public $reason; variable in Google\\Service\\Connectors\\LockConfig
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudDataplex/
H A DGoogleCloudDataplexV1EntityCompatibilityStatusCompatibility.php29 public $reason; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1EntityCompatibilityStatusCompatibility
48 public function setReason($reason) argument
50 $this->reason = $reason;
57 return $this->reason;

12345678910>>...28