cennznet / cennznet/api.js

Nicer custom errors

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Some of our CENNZnet node errors are outside runtime modules and are presented to users with little info .e.g 'not enough cpay' is `error: 200` which doesn't mean much.
We could translate those errors here
see: https://github.com/cennznet/cennznet/wiki/Transaction-Error-Codes#fee-payment

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.