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