24 September 2002

24Sept2002

Mini-Pattern: Error Codes

You want to make it as easy as possible for a client writer to inform the user of abnormal conditions. The easier it is to write a client, the more likely your service will be quickly adopted. Therefore, present error messages both as an easily machine-parsed code, and as a textual description.