K
Klaus Jensen
Hi!
I often raise my own errors in code, and I just use ErrorNumber 1, since I
do not use this number for anything (like maintaining a table of
errornumbers or whatever).
I then started wondering... Is this an okay use of raising errors? Should I
use a certain range of numbers for some reason? Is there a best practice for
raising errors - things to consider?
- Klaus
I often raise my own errors in code, and I just use ErrorNumber 1, since I
do not use this number for anything (like maintaining a table of
errornumbers or whatever).
I then started wondering... Is this an okay use of raising errors? Should I
use a certain range of numbers for some reason? Is there a best practice for
raising errors - things to consider?
- Klaus