GeoLeaf Core API - v3.19.0
    Preparing search index...

    Function captureGlobalErrors

    • Records uncaught errors and unhandled promise rejections in the log's record — once per target, however many times it is called.

      Installed by GeoLeaf.boot(), never at import: loading the library attaches nothing to the page. It only records — the browser still reports them in its own console.

      Parameters

      • Optionaltarget: EventTarget

        Where to listen; the page's window when omitted. Without either, nothing is installed.

      Returns void