Albert T. Wong
Albert T. Wong

Reputation: 612

Is there an industry standard for error messages?

Is there an industry standard for error messages? I hope that it would be from a technology standard organization like W3C or an industry organization like ARTS (Association of Retail Technology Standards).

Upvotes: 2

Views: 486

Answers (2)

sgrif
sgrif

Reputation: 3822

It all depends on what language you're using, each one of them has some sort of standard or best practice. I don't believe there's any standard other than throwing/catching exceptions.

Upvotes: 1

Bayard Randel
Bayard Randel

Reputation: 10086

There are, but they tend to be domain specific. HTTP status codes for instance are defined by IETF RFC2616. Most standardised services or protocols are likely to consider how implementers should handle errors I would imagine.

I'm not aware of any all encompassing standard for errors though if that's what you mean.

Upvotes: 2

Related Questions