Renders errors using PostgREST's JSON envelope {code, message, details, hint}
and maps internal error reasons / Postgres SQLSTATEs to HTTP statuses and
PGRST* codes.
New error shapes should be added as additional call/2 clauses rather than
handled inline in ActionController.