def filter_errors_list(errors, deactivate=None):
    """
    Excludes the errors identified by the identifier in the deactivate list from the list of all errors.

    :param errors: [TextErrorType]
        List of all errors.
    :param deactivate: [str]
        List of identifiers or errors to not check for.
    """
    errors_to_check_for = errors
    if deactivate is not None:
        errors_to_check_for = [e for e in errors if e.identifier is None or e.identifier not in deactivate]
    return errors_to_check_for