gjs-typelib-installer
    Preparing search index...

    Class MissingDependencies

    An error thrown when GObject typelibs are missing. This error is thrown by require when one or more typelibs cannot be loaded and their corresponding packages or files are identified as missing.

    Hierarchy

    • Error
      • MissingDependencies
    Index
    cause?: unknown
    files: Set<string>

    The set of missing typelib filenames.

    message: string
    name: string
    packages: Set<string>

    The set of missing package names.

    stack?: string
    • Checks if this error matches a GLib error domain and code.

      Added to the global Error prototype by the GLib override so that e.matches(Ns.FooError, Ns.FooError.SOME_CODE) works without an instanceof check. Always returns false for standard JavaScript errors; only GLib.Error instances provide a meaningful implementation.

      Parameters

      • domain: unknown

        A GLib error domain (error class constructor or quark)

      • code: number

        The error code to match against

      Returns boolean

      false for native JS errors, true if a GLib.Error matches