Javascript - Exception/Error data type?
try { example.example = example; } catch (err) { TraceError.sysout("Error test!", err); } In this above code segment, I am forcing an error since example is not defined. I am learning javascript currently and was wondering if in javascript what type err would be. Is there an Error object or an Exception object in this language, and is there a way to get information about that err object so that I can print a detailed message in my .sysout method?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.