- Joined
- Feb 20, 2016
- Messages
- 86
- Reaction score
- 69
- First Language
- German
- Primarily Uses
Since I have begun to write my own plugin the last weeks, I have seen many tutorials and plugins made by others too. But practically none of the are using try-catch error handling, what confused me.
On my work, an unhandled exception is a most common problem. We try to fit all functions with error handling to hold a program on a defined state and get accurate error messages.
Well, I'm new on plugin writing and JavaScript at all so I don't know why nobody makes use of JS try-catch option with stack trace output. I know there could be some performance issues, but I have made some tests with and without this error handling and there was nearly no difference.
Kind regards,
Purzelkater
On my work, an unhandled exception is a most common problem. We try to fit all functions with error handling to hold a program on a defined state and get accurate error messages.
Well, I'm new on plugin writing and JavaScript at all so I don't know why nobody makes use of JS try-catch option with stack trace output. I know there could be some performance issues, but I have made some tests with and without this error handling and there was nearly no difference.
Kind regards,
Purzelkater
