Skip to main content

Module error

Module error 

Source

Structs§

ErrorBody

Enums§

Error

Functions§

is_unique_violation
Check if a sqlx error is a unique constraint violation (Postgres code 23505).
unique_violation_constraint
Return the constraint name from a unique violation error, if available.
www_authenticate_value
Build a WWW-Authenticate: Bearer header value per RFC 6750 §3.1.

Type Aliases§

Result