hs-hath-1.3.0: src/Hath/Error.hs
module Hath.Error ( HathError(..) ) where
import Relude
data HathError
= TransportError !Text
-- ^ The HTTP exchange with the RPC server failed, every time it was tried.
| EmptyResponse
| RequestFailure !Text
-- ^ The RPC server answered with this status instead of @OK@.
| CertificateFailure !Text
-- ^ The PKCS#12 file from @get_cert@ could not be read.
| StorageError !Text
deriving ( Show, Eq )
instance Exception HathError