Link Search Menu Expand Document

danog\MadelineProto\RPCErrorException

Back to index

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

Generated by danog/phpdoc