rename errors to generic_errors