ModuleError

public extension ModuleError
  • Cast constructor, converting any binary integer to a ModuleError.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • there was an error loading or opening a module file

    Declaration

    Swift

    static let failed: GModuleError
  • a module returned an error from its g_module_check_init() function

    Declaration

    Swift

    static let checkFailed: GModuleError