2020-10-15 18:42:54 +02:00
|
|
|
---
|
|
|
|
title: danog\MadelineProto\RPCErrorException: Indicates an error returned by Telegram's API.
|
|
|
|
description:
|
|
|
|
|
2020-10-16 11:57:00 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2020-10-15 18:42:54 +02:00
|
|
|
---
|
|
|
|
# `danog\MadelineProto\RPCErrorException`
|
|
|
|
[Back to index](../../index.md)
|
|
|
|
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
|
|
|
|
|
|
Indicates an error returned by Telegram's API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Method list:
|
|
|
|
* `getLocalization(): string`
|
|
|
|
* `setLocalization(string $localization): void`
|
|
|
|
* `updateTLTrace(array $trace): void`
|
|
|
|
* `getTLTrace(): string`
|
|
|
|
* `setTLTrace(string $tlTrace): void`
|
|
|
|
* `prettifyTL(string $init, array $trace): void`
|
|
|
|
|
|
|
|
## Methods:
|
|
|
|
### `getLocalization(): string`
|
|
|
|
|
|
|
|
Get localized error name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `setLocalization(string $localization): void`
|
|
|
|
|
|
|
|
Set localized error name.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$localization`: `string`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `updateTLTrace(array $trace): void`
|
|
|
|
|
|
|
|
Update TL trace.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$trace`: `array`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `getTLTrace(): string`
|
|
|
|
|
|
|
|
Get TL trace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `setTLTrace(string $tlTrace): void`
|
|
|
|
|
|
|
|
Set TL trace.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$tlTrace`: `string` TL trace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### `prettifyTL(string $init, array $trace): void`
|
|
|
|
|
|
|
|
Generate async trace.
|
|
|
|
|
|
|
|
|
|
|
|
Parameters:
|
|
|
|
* `$init`: `string` Method name
|
|
|
|
* `$trace`: `array` Async trace
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-15 19:11:10 +02:00
|
|
|
---
|
|
|
|
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
|