Regarding PostgreSQL Documentation: https://www.postgresql.org/docs/current/protocol-error-fields.html, the Severity field contains one of this values: ERROR, FATAL, or PANIC.
Also here is a list of error code: https://www.postgresql.org/docs/current/errcodes-appendix.html
Where can I find the mapping between those error codes and the severity ?
Side question. would it make sense to stop a client microservice app when getting a FATAL or PANIC error type ?
I was expecting something like all error code between xxx and yyy --> ERROR. But can't be able to find something on the internet