HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Modulecrypton-2.1.7Haskell2010

Crypto.Error

  • 2 types
  • 5 values
  • Packagecrypton-2.1.7
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • 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

Instances5Monad, Functor, Applicative, Eq, Show