packages feed

hs-hath-1.4.0: src/Hath/Error.hs

module Hath.Error ( HathError(..) ) where

import           Relude

data HathError
  = TransportError !Text
  | EmptyResponse
  | RequestFailure !Text
    -- ^ Non-@OK@ status returned by the RPC server.
  | CertificateFailure !Text
  | StorageError !Text
  deriving ( Show, Eq )

instance Exception HathError