## exceptions.DataLoadingError


Error loading data from a file or URL.


Usage

``` python
exceptions.DataLoadingError(
    source,
    reason=None,
    *args,
    **kwargs,
)
```


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize with details about the failed loading. |

------------------------------------------------------------------------


#### \_\_init\_\_()


Initialize with details about the failed loading.


Usage

``` python
__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`.
