@duckduckgo/content-scope-scripts
    Preparing search index...

    Class SpecialErrorPage

    Index

    Constructors

    Properties

    messaging: SpecialErrorPage
    notify: <
        Method extends
            | "reportInitException"
            | "reportPageException"
            | "advancedInfo"
            | "leaveSite"
            | "visitSite",
        Msg = | Extract<AdvancedInfoNotification, { method: Method }>
        | Extract<LeaveSiteNotification, { method: Method }>
        | Extract<ReportInitExceptionNotification, { method: Method }>
        | Extract<ReportPageExceptionNotification, { method: Method }>
        | Extract<VisitSiteNotification, { method: Method }>,
    >(
        ...args: Msg extends { params: Params } ? [Method, Params] : [Method],
    ) => void
    request: <
        Method extends "initialSetup",
        Msg = Extract<InitialSetupRequest, { method: Method }>,
        Return = Msg extends { result: Result } ? Result : void,
    >(
        ...args: Msg extends { params: Params } ? [Method, Params] : [Method],
    ) => Promise<Return>

    Methods

    • This will be sent if the application has loaded, but a client-side error has occurred that cannot be recovered from

      Parameters

      • params: { message: string }

      Returns void