Добавлены нулевые привязки по СБП Добавлена причина отмены возвратов `payment_expired`
9.8 KiB
YooKassa API SDK
Class: \YooKassa\Common\Exceptions\InternalServerError
Namespace: \YooKassa\Common\Exceptions
Summary:
Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности.
Description:
Рекомендуется повторять запрос с периодичностью один раз в минуту до тех пор, пока ЮKassa не сообщит результат обработки операции.
Constants
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | HTTP_CODE |
Properties
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | $retryAfter | deprecated | |
| public | $type | deprecated | |
| protected | $error | ||
| protected | $responseBody | ||
| protected | $responseHeaders |
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | __construct() | Constructor. | |
| public | getError() | Возвращает объект ошибки | |
| public | getErrorCode() | deprecated | |
| public | getErrorDescription() | deprecated | |
| public | getErrorId() | deprecated | |
| public | getErrorParameter() | deprecated | |
| public | getResponseBody() | ||
| public | getResponseHeaders() | ||
| protected | createMessageFromError() | Создает сообщение из объекта ошибки | |
| protected | parseErrorBody() | Подготавливает объект ошибки |
Details
- File: lib/Common/Exceptions/InternalServerError.php
- Package: Default
- Class Hierarchy:
- \Exception
- \YooKassa\Common\Exceptions\ApiException
- \YooKassa\Common\Exceptions\InternalServerError
Constants
HTTP_CODE
HTTP_CODE = 500
Properties
public $retryAfter : mixed - (deprecated)
Type: mixed Время в секундах до повторной попытки Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
public $type : mixed - (deprecated)
Type: mixed Тип ошибки Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
protected $error : ?\YooKassa\Common\Errors\AbstractError
Type: AbstractError Объект ошибки 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(mixed $responseHeaders = [], mixed $responseBody = '') : mixed
Summary
Constructor.
Details:
- Inherited From: \YooKassa\Common\Exceptions\InternalServerError
Parameters:
| Type | Name | Description |
|---|---|---|
mixed |
responseHeaders | HTTP header |
mixed |
responseBody | HTTP body |
Returns: mixed -
public getError() : \YooKassa\Common\Errors\AbstractError|null
public getError() : \YooKassa\Common\Errors\AbstractError|null
Summary
Возвращает объект ошибки
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: \YooKassa\Common\Errors\AbstractError|null -
(deprecated) - public getErrorCode() : ?string
public getErrorCode() : ?string
Deprecated DeprecatedУстарело. Вместо него нужно использовать getError()->getCode() Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
(deprecated) - public getErrorDescription() : ?string
public getErrorDescription() : ?string
Deprecated DeprecatedУстарело. Вместо него нужно использовать getError()->getDescription() Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
(deprecated) - public getErrorId() : ?string
public getErrorId() : ?string
Deprecated DeprecatedУстарело. Вместо него нужно использовать getError()->getId() Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Returns: ?string -
(deprecated) - public getErrorParameter() : ?string
public getErrorParameter() : ?string
Deprecated DeprecatedУстарело. Вместо него нужно использовать getError()->getParameter() 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 createMessageFromError() : string
protected createMessageFromError(mixed $responseBody) : string
Summary
Создает сообщение из объекта ошибки
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Parameters:
| Type | Name | Description |
|---|---|---|
mixed |
responseBody |
Returns: string -
protected parseErrorBody() : void
protected parseErrorBody(array $errorData) : void
Summary
Подготавливает объект ошибки
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Parameters:
| Type | Name | Description |
|---|---|---|
array |
errorData |
Returns: void -
Top Namespaces
Reports
This document was automatically generated from source code comments on 2026-06-29 using phpDocumentor
© 2026 YooMoney