Link Search Menu Expand Document

danog\MadelineProto\TransportError

Back to index

Author: Daniil Gentili daniil@daniil.it

Indicates a transport error returned by Telegram’s API.

Properties

  • $error: int
  • $tlTrace: string TL trace.

Method list:

Methods:

__construct(int $error, ?\danog\MadelineProto\Exception $previous = NULL)

Parameters:

  • $error: int
  • $previous: ?\danog\MadelineProto\Exception

See also:

extension(string $extensionName): self

Complain about missing extensions.

Parameters:

  • $extensionName: string Extension name

getMessage(): string

getCode()

getFile(): string

getLine(): int

getTrace(): array

getPrevious(): ?Throwable

See also:

  • Throwable

getTraceAsString(): string

getTLTrace(): string

Get TL trace.


Generated by danog/phpdoc