# danog\MadelineProto\RPCError\BroadcastPublicVotersForbiddenError: You can't forward polls with public voters.

> 
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.


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

> Author: Daniil Gentili <daniil@daniil.it>  
  

You can't forward polls with public voters.  


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.


## Properties
* `$rpc`: `string` RPC error.
* `$description`: `string` Human-readable description of RPC error.
* `$tlTrace`: `string` TL trace.

## Method list:
* [`getLocalization(): string`](#getLocalization)
* [`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="getLocalization"></a> `getLocalization(): string`

Get localized error 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)
