Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ApplicationException = ApplicationException {}
- data ExceptionType
- data ThriftError = ThriftError Text
Documentation
data ApplicationException Source #
Thrift application exception as defined in https://github.com/apache/thrift/blob/master/doc/specs/thrift-rpc.md#response-struct.
Instances
Eq ApplicationException Source # | |
Defined in Pinch.Internal.Exception (==) :: ApplicationException -> ApplicationException -> Bool # (/=) :: ApplicationException -> ApplicationException -> Bool # | |
Show ApplicationException Source # | |
Defined in Pinch.Internal.Exception showsPrec :: Int -> ApplicationException -> ShowS # show :: ApplicationException -> String # showList :: [ApplicationException] -> ShowS # | |
Exception ApplicationException Source # | |
Pinchable ApplicationException Source # | |
Defined in Pinch.Internal.Exception type Tag ApplicationException Source # | |
type Tag ApplicationException Source # | |
Defined in Pinch.Internal.Exception |
data ExceptionType Source #
Thrift exception type as defined in https://github.com/apache/thrift/blob/master/doc/specs/thrift-rpc.md#response-struct.
Unknown | |
UnknownMethod | |
InvalidMessageType | |
WrongMethodName | |
BadSequenceId | |
MissingResult | |
InternalError | |
ProtocolError | |
InvalidTransform | |
InvalidProtocol | |
UnsupportedClientType |
Instances
data ThriftError Source #
An error occured while processing a thrift call. Signals errors like premature EOF, Thrift protocol parsing failures etc.
Instances
Eq ThriftError Source # | |
Defined in Pinch.Internal.Exception (==) :: ThriftError -> ThriftError -> Bool # (/=) :: ThriftError -> ThriftError -> Bool # | |
Show ThriftError Source # | |
Defined in Pinch.Internal.Exception showsPrec :: Int -> ThriftError -> ShowS # show :: ThriftError -> String # showList :: [ThriftError] -> ShowS # | |
Exception ThriftError Source # | |
Defined in Pinch.Internal.Exception |