## SmartclassError


Base exception for all smartclass errors.


Usage

``` python
SmartclassError(
    message,
    *args,
    **kwargs,
)
```


All custom exceptions in smartclass inherit from this class, making it easy to catch all smartclass-specific errors.


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize with a descriptive message. |
| [__str__()](#__str__) | Return the human-readable error message. |

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


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


Initialize with a descriptive message.


Usage

``` python
__init__(message, *args, **kwargs)
```


##### Parameters


`message: str`  
Human-readable error description.

`*args: Any`  
Additional positional arguments forwarded to the base `Exception`.

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


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


#### \_\_str\_\_()


Return the human-readable error message.


Usage

``` python
__str__()
```


##### Returns


`str`  
The message passed at construction time.
