Hash Variables: Errors

Parent: $root.$hashvars

#ERRCODE Numeric variable which reports the error number generated by a method.
 
For example, running the Set main file command without a valid file name causes an error with #ERRCODE set to 108139. Warning error codes are between 1 and 99,999 while fatal errors are greater than 100,000. Error codes in the range 2,000,000,000 to 2,147,483,647 are not generated by Omnis, and are therefore available for developers to use for their own purposes.
#ERRTEXT String variable which reports the error text generated by a method.'
 
For example, running the Set main file command without a valid file name causes an error with #ERRTEXT set to "Set main file command with no valid file name".