Errors

You can’t avoid errors at any cost. You code, you make mistakes.

Crucial parts of the code have been wrapped in three places in try except block:

  1. operator invoke.

  2. drawing callback

  3. modal loop

They generate following error message respectively:

  1. Invoke Failed, check console for details

  2. Drawing Failed, check console for details

  3. Modal Failed, check console for details

Notes:

  • I don’t know much about error handling.

  • I had logged the error in file, but removed that part, considering it unnecessary.