from typing import List

class BatchNotSynced(Exception):
    pass


from typing import List
from pathlib import Path


class WatchLogAdExtractionException(Exception):
    def __init__(self, error_files: List[Path] = None, msg="Some ad files had no info", *args, **kwargs):
        self.error_files = error_files
        if error_files is None:
            self.error_files = []
        super().__init__(msg, *args)

    def __str__(self):
        num_errors = len(self.error_files)
        return f"{num_errors} ad file(s) had no ad data inside"

07285a4f79d5c5aff761278f7beee65bb085fee8
<mask token>


class WatchLogAdExtractionException(Exception):
    <mask token>
    <mask token>

<mask token>


class WatchLogAdExtractionException(Exception):

    def __init__(self, error_files: List[Path]=None, msg=
        'Some ad files had no info', *args, **kwargs):
        self.error_files = error_files
        if error_files is None:
            self.error_files = []
        super().__init__(msg, *args)

    def __str__(self):
        num_errors = len(self.error_files)
        return f'{num_errors} ad file(s) had no ad data inside'

<mask token>


class BatchNotSynced(Exception):
    pass


<mask token>


class WatchLogAdExtractionException(Exception):

    def __init__(self, error_files: List[Path]=None, msg=
        'Some ad files had no info', *args, **kwargs):
        self.error_files = error_files
        if error_files is None:
            self.error_files = []
        super().__init__(msg, *args)

    def __str__(self):
        num_errors = len(self.error_files)
        return f'{num_errors} ad file(s) had no ad data inside'

from typing import List


class BatchNotSynced(Exception):
    pass


from typing import List
from pathlib import Path


class WatchLogAdExtractionException(Exception):

    def __init__(self, error_files: List[Path]=None, msg=
        'Some ad files had no info', *args, **kwargs):
        self.error_files = error_files
        if error_files is None:
            self.error_files = []
        super().__init__(msg, *args)

    def __str__(self):
        num_errors = len(self.error_files)
        return f'{num_errors} ad file(s) had no ad data inside'

from typing import List

class BatchNotSynced(Exception):
    pass


from typing import List
from pathlib import Path


class WatchLogAdExtractionException(Exception):
    def __init__(self, error_files: List[Path] = None, msg="Some ad files had no info", *args, **kwargs):
        self.error_files = error_files
        if error_files is None:
            self.error_files = []
        super().__init__(msg, *args)

    def __str__(self):
        num_errors = len(self.error_files)
        return f"{num_errors} ad file(s) had no ad data inside"
