mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-08-17 14:44:28 +00:00
6.8 KiB
6.8 KiB
YooKassa API SDK
Class: \YooKassa\Common\Exceptions\TooManyRequestsException
Namespace: \YooKassa\Common\Exceptions
Summary:
Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов.
Constants
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | HTTP_CODE |
Properties
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | $retryAfter | ||
| public | $type | ||
| protected | $responseBody | ||
| protected | $responseHeaders |
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | __construct() | Constructor. | |
| public | getErrorCode() | ||
| public | getErrorDescription() | ||
| public | getErrorId() | ||
| public | getErrorParameter() | ||
| public | getResponseBody() | ||
| public | getResponseHeaders() | ||
| protected | parseErrorResponse() |
Details
- File: lib/Common/Exceptions/TooManyRequestsException.php
- Package: Default
- Class Hierarchy:
- \Exception
- \YooKassa\Common\Exceptions\ApiException
- \YooKassa\Common\Exceptions\TooManyRequestsException
Constants
HTTP_CODE
HTTP_CODE = 429
Properties
public $retryAfter : mixed
Type: mixed
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
public $type : mixed
Type: mixed
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
protected $responseBody : ?string
Type: ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
protected $responseHeaders : array
Type: array
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Methods
public __construct() : mixed
public __construct(array $responseHeaders = [], ?string $responseBody = '') : mixed
Summary
Constructor.
Details:
- Inherited From: \YooKassa\Common\Exceptions\TooManyRequestsException
Parameters:
| Type | Name | Description |
|---|---|---|
array |
responseHeaders | HTTP header |
?string |
responseBody | HTTP body |
Returns: mixed -
public getErrorCode() : ?string
public getErrorCode() : ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
public getErrorDescription() : ?string
public getErrorDescription() : ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
public getErrorId() : ?string
public getErrorId() : ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
public getErrorParameter() : ?string
public getErrorParameter() : ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
public getResponseBody() : ?string
public getResponseBody() : ?string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
public getResponseHeaders() : string[]
public getResponseHeaders() : string[]
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: string[] -
protected parseErrorResponse() : string
protected parseErrorResponse(mixed $responseBody) : string
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Parameters:
| Type | Name | Description |
|---|---|---|
mixed |
responseBody |
Returns: string -
Top Namespaces
Reports
This document was automatically generated from source code comments on 2025-07-31 using phpDocumentor
© 2025 YooMoney