mirror of
https://github.com/FlipsideCrypto/sdk.git
synced 2026-02-06 10:46:43 +00:00
14 lines
262 B
Python
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)
|