Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data TDLibError Source #
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 |
UnknownError | Unknown Error |
Instances
Eq TDLibError Source # | |
Defined in TDLib.Errors (==) :: TDLibError -> TDLibError -> Bool # (/=) :: TDLibError -> TDLibError -> Bool # | |
Show TDLibError Source # | |
Defined in TDLib.Errors showsPrec :: Int -> TDLibError -> ShowS # show :: TDLibError -> String # showList :: [TDLibError] -> ShowS # | |
Exception TDLibError Source # | |
Defined in TDLib.Errors toException :: TDLibError -> SomeException # fromException :: SomeException -> Maybe TDLibError # displayException :: TDLibError -> String # |