Layer 220
Error
Error.
constructor
error#c4b9f9bb code:int text:string = Error;
Parameters
| Name | Type | Description |
|---|---|---|
| Code | int | Error code |
| Text | string | Message |
Returns
ErrorGogram Example
// Creating Error constructor obj := &tg.Error{ Code: 0, Text: "...", }