Pergunta de entrevista da empresa Two Sigma

What's the difference between an exception and an error?