Link Search Menu Expand Document


Back to index

Author: Daniil Gentili

Duplicate poll options provided.

Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.

Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.


  • $rpc: string RPC error.
  • $description: string Human-readable description of RPC error.
  • $tlTrace: string TL trace.

Method list:


getLocalization(): string

Get localized error name.

getMessage(): string


getFile(): string

getLine(): int

getTrace(): array

getPrevious(): ?Throwable

See also:

  • Throwable

getTraceAsString(): string

getTLTrace(): string

Get TL trace.

Generated by danog/phpdoc