Endpoint now generates descriptive, helpful error messages including the full PostgreSQL error that occurred. These can be extraordinarily helpful for debugging. But right now they just output to console.log. Figure out what we need to do to get back a descriptive JSON object that contains the error title and message. Might require modifications to the errors that endpoint generates, namely converting them to JSON when appropriate.
Endpoint now generates descriptive, helpful error messages including the full PostgreSQL error that occurred. These can be extraordinarily helpful for debugging. But right now they just output to console.log. Figure out what we need to do to get back a descriptive JSON object that contains the error title and message. Might require modifications to the errors that endpoint generates, namely converting them to JSON when appropriate.