sdk/python/shroomdk/errors/sdk_error.py
2022-07-22 14:57:26 -04:00

14 lines
262 B
Python

from typing import Union
from .base_error import BaseError
class SDKError(BaseError):
"""
Base class for all SDK errors.
"""
def __init__(self, message: Union[str, None]):
self.message = message
super().__init__(self.message)