# statsGraphError

> An error occurred while generating the statistics graph

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



An error occurred while generating the [statistics graph](https://core.telegram.org/api/stats)

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|error|[string](/API_docs/types/string.html) | Yes|The error|



### Type: [StatsGraph](/API_docs/types/StatsGraph.html)


### Example:

```
$statsGraphError = ['_' => 'statsGraphError', 'error' => 'string'];
```
