# danog\MadelineProto\UploadResumeException: 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.


[Back to index](../../index.html)

> 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:
* [`__construct(mixed $message = NULL, mixed $code = 0, ?Throwable $previous = NULL, mixed $file = NULL, mixed $line = NULL)`](#__construct)
* [`extension(string $extensionName): \danog\MadelineProto\Exception`](#extension)
* [`getTLTrace(): string`](#getTLTrace)
* [`getMessage(): string`](#getMessage)
* [`getCode()`](#getCode)
* [`getFile(): string`](#getFile)
* [`getLine(): int`](#getLine)
* [`getTrace(): array`](#getTrace)
* [`getPrevious(): ?Throwable`](#getPrevious)
* [`getTraceAsString(): string`](#getTraceAsString)

## Methods:
### <a name="__construct"></a> `__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`




### <a name="extension"></a> `extension(string $extensionName): \danog\MadelineProto\Exception`

Complain about missing extensions.


Parameters:

* `$extensionName`: `string` Extension name  



### <a name="getTLTrace"></a> `getTLTrace(): string`

Get TL trace.



### <a name="getMessage"></a> `getMessage(): string`





### <a name="getCode"></a> `getCode()`





### <a name="getFile"></a> `getFile(): string`





### <a name="getLine"></a> `getLine(): int`





### <a name="getTrace"></a> `getTrace(): array`





### <a name="getPrevious"></a> `getPrevious(): ?Throwable`




#### See also: 
* `Throwable`




### <a name="getTraceAsString"></a> `getTraceAsString(): string`





---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
