tdlib-0.3.0: complete binding to the Telegram Database Library
Safe HaskellNone
LanguageHaskell2010

TDLib.Errors

Documentation

data TDLibError Source #

Constructors

ExtraFieldNotInt !Value

Recieved an answer but the field "@extra" is not present or is not a integer

UnableToParseJSON !ByteString

The json value cannot be parsed into the expected data type

UnableToParseValue !Value

The bytestring failed to be parsed into a Value

UnknownError

Unknown Error

Instances

Instances details
Eq TDLibError Source # 
Instance details

Defined in TDLib.Errors

Show TDLibError Source # 
Instance details

Defined in TDLib.Errors

Exception TDLibError Source # 
Instance details

Defined in TDLib.Errors