Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following is used to handle errors in Node.js?
Home
NodeJS Essentials
Which of the following is used to handle errors in Node.js?
0
votes
asked
May 25
in
NodeJS Essentials
by
rajeshsharma
Which of the following is used to handle errors in Node.js?
A) try/catch
B) throw
C) assert
D) all of the above
handle
errors
node
js
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 25
by
rajeshsharma
Answer: D
Explanation: try/catch, throw, and assert are all used to handle errors in Node.js.
...