When an error occurs in Node.js, the error object is typically an instance of __________.

  • Error
  • Exception
  • ErrorObject
  • Err
In Node.js, when an error occurs, the error object is typically an instance of the built-in Error object. This object contains valuable information about the error, such as a message and a stack trace.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *