[][src]Module pgx::guard

Structs

JumpContext
PgTryResult

A std::result::Result-type value returned from pg_try() that allows for performing cleanup work after a closure raised an error and before it is possibly rethrown

PgxPanic

Functions

guard

Guard a closure such that Rust Panics are properly converted into Postgres ERRORs

pg_try

Similar to guard, but allows the caller to unwrap the result in various ways, possibly performing cleanup work before the caught error is rethrown

register_pg_guard_panic_handler