Use errorhandler to output fatal error messages.