0.0.5 • Published 3 years ago

@xgm/error-codes v0.0.5

Weekly downloads
2
License
MIT
Repository
-
Last release
3 years ago

GodMode Logo

@xgm/error-codes

Custom errors used across XGM repos

Usage

npm install @xgm/error-codes
import { CAIPNetworkError } from '@xgm/error-codes'
throw CAIPNetworkError({
    message: 'Unsupported network',
})

Testing

Tests are written in mocha.

npm run test

Contributing

Fork this repo and create a descriptive PR.

Releases

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.