@terra-money/error-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@terra-money/error-parser

Parse error messages from Terra blockchain

Installation

npm i @terra-money/error-parser

Example codes

import parse from "@terra-money/error-parser"

const errorMessage = "failed to execute message; message index: 0: Already claimed: execute wasm contract failed"

console.log(parse(errorMessage))
// Already claimed

Readme

Keywords

none

Package Sidebar

Install

npm i @terra-money/error-parser

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.44 kB

Total Files

9

Last publish

Collaborators

  • terra-engineering
  • simke9445
  • alecande
  • mwmerz
  • terra-devops