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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Fixing error handling to cover unhandled cases such as Wallet API being offline and signature verification failing.
Adding a new class CelsiusSDKError that encapsulates errors raised within the Celsius SDK. This class extends the Error class and contains the following additional attributes:
slug - Unique identifier tied to the error, returned by the API;
status - Status code returned by the API;
originalError - Original error which was used to instantiate CelsiusSDKError.
Exporting CelsiusSDKError and ValidationError classes used by Celsius SDK to encapsulate errors.
Fixing unhandled promise rejections in http-client.js::post method.