1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 14:07:23 +01:00
MadelineProto/docs/API_docs/constructors/error.md

18 lines
318 B
Markdown

## Constructor: error
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|code|[int](../types/int.md) | Required|
|text|[string](../types/string.md) | Required|
### Type: [Error](../types/Error.md)
### Example:
```
$error = ['code' => int, 'text' => string, ];
```