Constructors

Properties

messaging: ExamplePage
notify: <
    Method extends "reportInitException"
    | "reportPageException",
    Msg =
        | Extract<ReportInitExceptionNotification, { method: Method }>
        | Extract<ReportPageExceptionNotification, { 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