base
CustomExceptionBase
dataclass
Bases: BaseException
Base class for custom exceptions to inherit from.
This class itself inherits from Python's Exception class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
msg |
str
|
A message to display with the exception |
field(default='Custom exception called')
|