HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulehopenssl-2.2.5Haskell2010

OpenSSL.EVP.Digest.Error

Low-level bindings to OpenSSL's EVP interface. Most users do not need this code. Check out OpenSSL.Digest for a more comfortable interface.

  • 1 type
  • 1 value
  • Packagehopenssl-2.2.5
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceError.hs
valuethrowIfZero :: String -> IO CInt -> IO ()
#

Most OpenSSL functions return an approximation of Bool to signify failure. This wrapper makes it easier to move the error handling to the exception layer where appropriate.