Q. How do you check if an error is an instance of a specific error type?

आप कैसे जाँचेंगे कि कोई त्रुटि किसी विशिष्ट त्रुटि प्रकार का उदाहरण है?

A
error.typeof(ErrorType)
B
error instanceof ErrorType
C
error == ErrorType
D
error.class(ErrorType)

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment