libjs icon indicating copy to clipboard operation
libjs copied to clipboard

use the new error in the transactionError subscription

Open bchamagne opened this issue 9 months ago • 0 comments

Is your feature request related to a problem?

No response

Describe the solution you'd like

We deprecated the reason from the transactionError. Instead the SDK should use the new propertyerror which is of type :

{
code: Int
data: any
message: String
}

Additional context

I believe this require a major version bump

A util function such as formatError would be great because we might have inception of errors and that would provide great error message (example: "Invalid recipient execution: Condition Failed: still locked")

Epic

No response

bchamagne avatar May 15 '24 15:05 bchamagne