Archive: How to capture error messages?


How to capture error messages?
Is there a way to capture the error messages on a CopyFiles?
I can capture that an error occured but I do not know why.

This is especially true if CopyFiles is pointing to a directory with many files. The details says Copy Failed but it would be nice to know why.

Thanks


There is none. You can manually try to figure it out. For examples, you can check with IfFileExists if the destination directory exists.


How about other errors?
I can use ClearErrors and IfErrors but is there a way to capture the error number? The nullsoft error handling needs to be beefed up, don't you think?

Steve


I don't. But I'd be happy to see a healthy discussion on the topic.


Me too. I will post a new topic called "Nullsoft error handling"