ErrorHandler to store all errors.