Optional context?: unknownAnything the caller wants beside the caught object. Reported at the root, rooted at $context.
Optional fingerprint?: string1 to 64 printable ASCII characters without spaces. Wins over fingerprintParts.
Optional occurrence1 to 128 printable ASCII characters without spaces. Wins over occurrenceIdSources.
maker.makeReport(caught, { occurrenceId: 'req-42', context: { tool: 'search', attempt: 2 } });
What one call to a report function knows that its maker's options do not. An
occurrenceIdorfingerprintthat is not a valid token is recorded as a reporting error and passed over; it never throws.