FrontendDeveloper.in

JavaScript question detail

What are the different error names from error object

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

Error NameDescription
AggregateErrorAn error indicating that multiple errors occurred
EvalErrorAn error has occurred in the eval() function
RangeErrorAn error has occurred with a number "out of range"
ReferenceErrorAn error due to an illegal reference
SyntaxErrorAn error due to a syntax error
TypeErrorAn error due to a type error
URIErrorAn error due to encodeURI()
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399