gi-gmodule-2.0.5: GModule bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GModule.Enums

Description

 
Synopsis

Enumerations

ModuleError

data ModuleError Source #

Errors returned by g_module_open_full().

Since: 2.70

Constructors

ModuleErrorFailed

there was an error loading or opening a module file

ModuleErrorCheckFailed

a module returned an error from its g_module_check_init() function

AnotherModuleError Int

Catch-all for unknown values

catchModuleError :: IO a -> (ModuleError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type ModuleError. This is a specialized version of catchGErrorJustDomain.

handleModuleError :: (ModuleError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type ModuleError. This is a specialized version of handleGErrorJustDomain.