Hello again,
I have another question. I want to maintain errors in a separate log file, that I can write to upon seeing an error.
When an error occurs, the error code and a description of the error is displayed to the console.
Is there an associated variable with the text which is displayed.
For example,
Error (33) File not Found.
I want a variable that holds the string “File not Found” - or something like that.
Then I would write the timestamp, error code, and description to a file I will push to an FTP server.
Right now I can do the timestamp and error code, but having that extra text field would make it easier when sorting through the logs.
I want to do this manually so I can just log the errors which are important to me.
Thank you,
Dan