Re:Long Error Messages
by sa46 on Thursday September 23, 2021 @01:18AM
(#28625425)
It's not an uncommon pattern: https://github.com/postgres/postgres/blob/master/src/backend...
[ Parent
| on HN ]
I wasn't making any statement about how common it was, only about how impractical it was.
And soon enough you'll find that it is just more convenient to reuse a few error codes here and there, and soon enough applications just report "error -1: resource failure" or "internal failure" or some other meaningless thing. Far better to just return a string.
Re:Long Error Messages
by jareklupinski on Friday September 24, 2021 @01:03PM
(#28645078)
> Section: Class 57 - Operator Intervention
> # (class borrowed from DB2)
> Section: Class 72 - Snapshot Failure > # (class borrowed from Oracle)
Nothing from SAP / ABAP ? :^)