CorjCallInput: {
    context?: unknown;
    fingerprint?: string;
    occurrenceId?: string;
}

What one call to a report function knows that its maker's options do not. An occurrenceId or fingerprint that is not a valid token is recorded as a reporting error and passed over; it never throws.

Type declaration

  • Optional context?: unknown

    Anything the caller wants beside the caught object. Reported at the root, rooted at $context.

  • Optional fingerprint?: string

    1 to 64 printable ASCII characters without spaces. Wins over fingerprintParts.

  • Optional occurrenceId?: string

    1 to 128 printable ASCII characters without spaces. Wins over occurrenceIdSources.

Example

maker.makeReport(caught, { occurrenceId: 'req-42', context: { tool: 'search', attempt: 2 } });