Zummit Infolabs interview question

What are different types of errors in JavaScript ?