Custom errors used across XGM repos
npm install @xgm/error-codes
import { CAIPNetworkError } from '@xgm/error-codes'
throw CAIPNetworkError({
message: 'Unsupported network',
})
Tests are written in mocha.
npm run test
Fork this repo and create a descriptive PR.
This package is in alpha so releases may be frequent. Core devs should create releases after merging in new features by running
npm run dist && npm run release
This will ask you for the release version, then automatically create a release and publish it to npm.