-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Description
The actual exception handing has two limitation:
- The actual exception object is inaccessible
- The current handle_exceptions decorators does not allow for custom error handling strategy
Ideally SolanaExceptionBase
should store the inner exception object if the user code needs to handle it in a specific way, (examples: change the proxy on proxy errors, retry on connection errors, wait on rate limits etc...)
Also since the handle_exceptions
decorators catch all occurring exceptions it'd be nice if you could specify the error handling logic there, it'd provide a centralized place for shared exception handling logic across all the methods.
Thank you
Metadata
Metadata
Assignees
Labels
No labels