Forum Post: Error or Progress.Lang.Error

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
This is probably just a matter of taste, but I am curious about other's reactions. I am used to seeing catch blocks and the like written with Progress.Lang.Error, Progress.Lang.AppError, and Progress.Lang.SysError, but I encountered some code this morning which had using Progress.Lang.Error and using Progress.Lang.AppError and this allowed writing the catch blocks and throws as simply Error and AppError. In general, I am a big fan of using to keep code readable, but seeing just plain Error bothered me since it seemed obscure, but perhaps that is just because I am used to seeing it spelled out. AppError less so, but consistency would dictate one way or the other. Thoughts?

Continue reading...
 
Status
Not open for further replies.
Back
Top