🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@terra-money/error-parser

Package Overview
Dependencies
Maintainers
10
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@terra-money/error-parser

Parse error messages from Terra blockchain

1.0.0
latest
npm
Version published
Maintainers
10
Created
Source

@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

FAQs

Package last updated on 10 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts