exceptions.DataLoadingError

Error loading data from a file or URL.

Usage

Source

exceptions.DataLoadingError()

Methods

Name Description
__init__() Initialize with details about the failed loading.

__init__()

Initialize with details about the failed loading.

Usage

Source

__init__(source, reason=None, *args, **kwargs)
Parameters
source: str

Path or URL that failed to load.

reason: str | None = None

Optional human-readable reason for the failure. Default is None.

*args: Any

Additional positional arguments forwarded to the base Exception.

**kwargs: Any
Additional keyword arguments forwarded to the base Exception.