Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
MessagePack Client type
Instances
Monad m => Monad (ClientT m) Source # | |
Functor m => Functor (ClientT m) Source # | |
Monad m => Applicative (ClientT m) Source # | |
Defined in Network.MessagePack.Client.Internal | |
MonadIO m => MonadIO (ClientT m) Source # | |
Defined in Network.MessagePack.Client.Internal | |
MonadThrow m => MonadThrow (ClientT m) Source # | |
Defined in Network.MessagePack.Client.Internal | |
MonadCatch m => MonadCatch (ClientT m) Source # | |
(MonadIO m, MonadThrow m, MessagePack o) => RpcType (ClientT m o) Source # | |
execClient :: ByteString -> Int -> Client a -> IO a Source #
Call RPC method
RPC error
RPC error type
RemoteError Object | Server error |
ResultTypeError Text Object | Result type mismatch |
ProtocolError Text | Protocol error |
Instances
Eq RpcError Source # | |
Ord RpcError Source # | |
Defined in Network.MessagePack.Types.Error | |
Show RpcError Source # | |
Exception RpcError Source # | |
Defined in Network.MessagePack.Types.Error toException :: RpcError -> SomeException # fromException :: SomeException -> Maybe RpcError # displayException :: RpcError -> String # |
Instances
(MessagePack o, RpcType r) => RpcType (o -> r) Source # | |
(MonadIO m, MonadThrow m, MessagePack o) => RpcType (ClientT m o) Source # | |