TD.Data.Error
data Error Source #
Constructors
An object of this type can be returned on every function call, in case of an error
Fields
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
Error message; subject to future changes
Defined in TD.Data.Error
Methods
parseJSON :: Value -> Parser Error #
parseJSONList :: Value -> Parser [Error] #
toJSON :: Error -> Value #
toEncoding :: Error -> Encoding #
toJSONList :: [Error] -> Value #
toEncodingList :: [Error] -> Encoding #
showsPrec :: Int -> Error -> ShowS #
show :: Error -> String #
showList :: [Error] -> ShowS #
(==) :: Error -> Error -> Bool #
(/=) :: Error -> Error -> Bool #
shortShow :: Error -> String Source #
defaultError :: Error Source #