Airgram

Guides
/
/
Output types

Error

An object of this type can be returned on every function call, in case of an error.

This is an alias for the ErrorUnion type.


NameTypeDescription
_"error"
codenumber Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user
messagestring Error message; subject to future changes