Zummit Infolabs Interview Question

What are different types of errors in JavaScript ?