| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Pinch.Internal.Exception
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.
Constructors
| ApplicationException | |
Fields | |
Instances
| Eq ApplicationException Source # | |
Defined in Pinch.Internal.Exception Methods (==) :: ApplicationException -> ApplicationException -> Bool # (/=) :: ApplicationException -> ApplicationException -> Bool # | |
| Show ApplicationException Source # | |
Defined in Pinch.Internal.Exception Methods showsPrec :: Int -> ApplicationException -> ShowS # show :: ApplicationException -> String # showList :: [ApplicationException] -> ShowS # | |
| Exception ApplicationException Source # | |
Defined in Pinch.Internal.Exception Methods toException :: ApplicationException -> SomeException # fromException :: SomeException -> Maybe ApplicationException # | |
| Pinchable ApplicationException Source # | |
Defined in Pinch.Internal.Exception Associated Types type Tag ApplicationException Source # Methods pinch :: ApplicationException -> Value (Tag ApplicationException) Source # unpinch :: Value (Tag ApplicationException) -> Parser 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.
Constructors
| 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.
Constructors
| ThriftError Text |
Instances
| Eq ThriftError Source # | |
Defined in Pinch.Internal.Exception | |
| Show ThriftError Source # | |
Defined in Pinch.Internal.Exception Methods showsPrec :: Int -> ThriftError -> ShowS # show :: ThriftError -> String # showList :: [ThriftError] -> ShowS # | |
| Exception ThriftError Source # | |
Defined in Pinch.Internal.Exception Methods toException :: ThriftError -> SomeException # fromException :: SomeException -> Maybe ThriftError # displayException :: ThriftError -> String # | |