[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Reporting Format




Julian Reschke wrote:
I see. The WebDAV approach is a bit different, it assumes that it's more useful to have more precision in sending the error condition, and that the recipient will be more likely to be able to generate a readable and localized error description from it.

This would be my preference too. Not necessarily the WebDAV format, but the ability to generate a localized error description myself from a known code returned by the server. I wouldn't want to rely on servers to provide localized error messages in every language that I may need to support.


Of James' choice of formats, my preference would probably be (a), assuming those error codes are known and documented.

Regards
James