Archived Forum Post

Index of archived forum posts

Question:

Suggestion: error reporting

Aug 11 '14 at 13:43

I just had an issue with my code (chilkat support helped me solve it) where my program was reporting the lasterrortext from the wrong chilkat object.

If you use multiple ck objects it can be difficult to determine where the error actually occurred.

Perhaps it is possible to have some global instance (like CkSettings) called CkError that collects the last X errors (no matter what CkXXX class was involved). Code "higher" in the calling chain (that knows nothing about chilkat) can then log info/errors from that CkError object instead.

Just a thought.