On Mon, Aug 10, 2020 at 5:30 PM Lassi Kortela <xxxxxx@lassi.io> wrote:

> Not at the moment, but my memory is telling me that I *have* seen such
> things before.

I too could have sworn that I'd come across alphanumeric codes several
times. But when trying to remember and search for specific examples I
couldn't come up with any.

Googling for [alphanumeric error codes] nailed it.  They pop up in embedded devices with simple alphanumeric displays!

Samsung washer: <https://all-errors.com/samsung-washer-error-codes/>

Rockwell Automation controller: <https://www.manualsdir.com/manuals/579196/rockwell-automation-1756-rmxx-controllogix-enhanced-redundancy-system-user-manual.html?page=235>

Something or other, I don't know what: <>https://www.nyvip.org/PublicSite/OBDII/diagnostic-trouble-codes.html>

Royal cash register: <https://www.royalsupplies.com/cashreg/Instruction%20Manual%20Alpha583cx%20ENGLISH.pdf>

In addition, I blundered across the DocBook documentation in this search.  DocBook is an XML format for technical documentation, and of course one of the things such books have to document is -- errors.  They provide four elements to mark up error descriptions:

DocBook provides four elements for identifying the parts of an error message: errorcode, for the alphanumeric error code (e.g., “–2”); errorname, for the symbolic name of the error (e.g., “ENOENT”); errortext, for the text of the error message (e.g., “file not found”); and errortype, for the error type (e.g., “recoverable”).

Maybe we should adopt these names.  DocBook has undergone a long evolution already.

category
class-code
class-title
subclass-code
Subclass-title

All these things are determined by the SQLSTATE, so I don't see much reason for lugging them around in status objects.
 
How bad is 'mnemonic? It may be slightly torturous to spell for
non-native speakers, but probably palatable.

Probably worse for native speakers, actually.  Non-native speakers see the word and then hear it; native speakers hear the word and are shocked by the spelling.



John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
Said Agatha Christie / To E. Philips Oppenheim
"Who is this Hemingway? / Who is this Proust?
Who is this Vladimir / Whatchamacallum,
This neopostrealist / Rabble?" she groused.
        --George Starbuck, Pith and Vinegar