Skip to content

Add method to get errors from response #413

Description

@msfeldstein

When a transaction fails, the js-sdk just passes back the horizon response blob, the actual errors are pretty far nested so you have to dig to get the error-codes out.

We should have a simple method to get errors out of the response similar to what the Go SDK did. https://godoc.org/github.com/stellar/go/clients/horizonclient#Error

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions