You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The actual exception handing has two limitation:
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
The text was updated successfully, but these errors were encountered: