Error facts routed to the applicable sinks.
Error code for classification
listingId: number | undefined
Optional: listing ID (not slug)
attendeeId: number | undefined
Optional: attendee ID
detail: string | undefined
Optional context that is safe for every error sink.
operatorDetail: string | undefined
Activity-log context. It can contain personal data and must not reach other sinks.
error: unknown
Optional original thrown error. Forwarded to Sentry (never to the console
line, ntfy, or the activity log) so server-side reports carry a real stack
trace. Attach it wherever a catch would otherwise stringify the error
into detail.
fingerprint: string[] | undefined
Optional grouping override for the Sentry report. A report that carries an exception groups by its stack. A transport message defeats that grouping, because it names the connection's IP, port, and database host. The override pins the group to stable facts instead. Built by databaseErrorFingerprint in src/shared/db/errors.ts.