mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-08-25 03:58:01 +00:00
6.6 KiB
6.6 KiB
YooKassa API SDK
Class: \YooKassa\Common\Exceptions\ApiConnectionException
Namespace: \YooKassa\Common\Exceptions
Summary:
Неожиданный код ошибки.
Constants
- No constants found
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/ApiConnectionException.php
- Package: Default
- Class Hierarchy:
- \Exception
- \YooKassa\Common\Exceptions\ApiException
- \YooKassa\Common\Exceptions\ApiConnectionException
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(string $message = '', int $code, string[] $responseHeaders = [], string|null $responseBody = '') : mixed
Summary
Constructor.
Details:
- Inherited From: \YooKassa\Common\Exceptions\ApiException
Parameters:
| Type | Name | Description |
|---|---|---|
string |
message | Error message |
int |
code | HTTP status code |
string[] |
responseHeaders | HTTP header |
string OR null |
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-01 using phpDocumentor
© 2025 YooMoney