Return errors instead of continuing after a fatal error occurs