A code in the ErrorCodes enumeration identifying the error
message
Text version of the error message
arg1
For messages that relate to a file or path, such as "Unable to access index", the file or path that the error concerns.
arg2
Not used.
Description
Called while a job is executing if an error is encountered, with the error code and message.
Remarks
Unless your program needs to react to errors immediately, it is usually easier to call GetErrors() after the job returns to see if anything went wrong.