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

Modulesdl2-2.5.5.0Haskell2010

SDL.Raw.Error

  • 1 type
  • 4 values
  • Packagesdl2-2.5.5.0
  • 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