Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Raise a custom exception

0
0
Hi ClearScripts,

I would like to raise an excpetion within the JavaScript code. For sure I may raise the Error object but I need to have something more specific. I didn't find out how to raise an .NET exception. Is there any way to do this?

Best regards,
Torsten

Viewing all articles
Browse latest Browse all 2297