Link Search Menu Expand Document

danog\MadelineProto\UploadResumeException

Back to index

Author: Daniil Gentili daniil@daniil.it

Thrown when an interrupted upload can’t be resumed, because its source ends before the offset to resume from.

The resume state is dropped, so uploading the file again starts from scratch.

Properties

  • $tlTrace: string TL trace.

Method list:

Methods:

__construct(mixed $message = NULL, mixed $code = 0, ?Throwable $previous = NULL, mixed $file = NULL, mixed $line = NULL)

Parameters:

  • $message: mixed
  • $code: mixed
  • $previous: ?Throwable
  • $file: mixed
  • $line: mixed

See also:

  • Throwable

extension(string $extensionName): \danog\MadelineProto\Exception

Complain about missing extensions.

Parameters:

  • $extensionName: string Extension name

getTLTrace(): string

Get TL trace.

getMessage(): string

getCode()

getFile(): string

getLine(): int

getTrace(): array

getPrevious(): ?Throwable

See also:

  • Throwable

getTraceAsString(): string


Generated by danog/phpdoc