Expand continue_on_error to select which type of error to allow