Treat exception as errors