Expand description
Error types for Postrust.
Provides comprehensive error handling with HTTP status code mapping.
Structs§
- Database
Error - Database-specific error type.
- Raised
Response - A response a database function asked for outright.
Enums§
- Error
- Main error type for Postrust.
- Raise
Fault - What was wrong with a
RAISE sqlstate 'PGRST'.
Constants§
- JSON_
PARAM - How the message spells the type of a single unnamed JSON parameter.
Functions§
- function_
signature - How a function’s argument list reads in an error message.
- names_
only_ one_ param - Whether the request could only ever have matched one unnamed parameter.
Type Aliases§
- Result
- Result type for Postrust operations.