ThrowCodeError vs ThrowUserError

Maxwell Kanat-Alexander mkanat at
Thu Apr 15 18:49:43 UTC 2004

On Thu, 2004-04-15 at 01:10, David Miller wrote:
> Thoughts from the peanut gallery?

	Yeah, I think you're basically right about this.

	Right now, they probably are code errors -- the error being that the
wrong error message is thrown. :-) For example, bad URLs should result
in the error message "you have typed in a bad URL," or something like

	I think the guideline should be, "If we can give the user something to
fix in the message, it's a UserError. If the user can't do anything
about it, it's a CodeError."

Maxwell Kanat-Alexander
2nd Level Tech Support Engineer, USA
Kerio Technologies, Inc.
2041 Mission College Blvd. Suite 100
Santa Clara, CA 95054
Phone: (408) 496-4500 x23
Fax: (408) 496-6902

More information about the developers mailing list