aptos-labs / aptos-ts-sdk

An SDK for accessing the Aptos blockchain data, submitting transactions, and more!
https://aptos-labs.github.io/aptos-ts-sdk/
Apache License 2.0
67 stars 37 forks source link

ensure that errors have a meaningful message #458

Closed geekflyer closed 1 month ago

geekflyer commented 2 months ago

This improves the error message handling in the SDK. Previously we would receive AptosApiError: [object Object] and other non-descriptive errors in some cases. This came up in debugging the keyless e2e tests specifically.