HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulesdl2-2.5.6.1Haskell2010

SDL.Raw.Error

  • 1 type
  • 4 values
  • Packagesdl2-2.5.6.1
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceError.hs

Error Handling

2 declarations
newtypenewtype SDLError
#

Note: the CString is only valid until the next SDL function call. If you need to preserve the error message, make a copy of it.

Constructors

Instances3Eq, Show, Exception

Manual Error Handling

3 declarations