HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecrypton-1.0.4Haskell2010

Crypto.Error

  • 2 types
  • 5 values
  • Packagecrypton-1.0.4
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs
datadata CryptoError
#
Instances5Enum, Eq, Data, Show, Exception
datadata CryptoFailable a
#

A simple Either like type to represent a computation that can fail

2 possibles values are:

  • CryptoPassed : The computation succeeded, and contains the result of the computation

  • CryptoFailed : The computation failed, and contains the cryptographic error associated

Instances7Monad, Functor, Applicative, MonadFailure, Eq, Show, …