ChemPal Documentation - v1.7.0
    Preparing search index...

    Interface ReportContext

    Optional caller-supplied context attached to a report.

    interface ReportContext {
        url?: string;
        action?: string;
        extra?: Record<string, unknown>;
    }
    Index

    Properties

    Properties

    url?: string

    The page URL where the problem occurred.

    action?: string

    A short label for what the user was doing (e.g. "render-crash").

    extra?: Record<string, unknown>

    Any extra structured payload to include verbatim in the logs.