Skip to main content

Module errors

Module errors 

Source

Structs§

ErrorVariant
NewErrorReport

Enums§

ErrorSource

Constants§

BEST_EFFORT_ACQUIRE_TIMEOUT 🔒
Reports aren’t worth adding to the pool pressure of the outage they may be reporting.

Functions§

delete_expired
get_all_variants
insert
Inserts one error occurrence and upserts its variant in a single transaction. The variant service is treated as immutable after creation; any future service rename must update both error_variants.service and related error_occurrences.service in the same transaction.
insert_best_effort
insert for a report that must never affect its caller: a failure to get a connection quickly or to insert is only logged.
maybe_delete_expired