JS Coding Questions Logo
JS Coding Questions
#229💼 Interview

What are the different error names from error object

Advertisement

728x90

There are 7 different types of error names returned from error object,

| Error Name | Description |

|---- | ---------

| AggregateError | An error indicating that multiple errors occurred |

| EvalError | An error has occurred in the eval() function |

| RangeError | An error has occurred with a number "out of range" |

| ReferenceError | An error due to an illegal reference|

| SyntaxError | An error due to a syntax error|

| TypeError | An error due to a type error |

| URIError | An error due to encodeURI() |

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 58

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
229of476