Skip to content

harukitosa/error-string-parser

Repository files navigation

error-stringify

Build Status

This is a simple tool for converting between strings and ErrorObjects.

This is useful for converting an Error to a string on the client side and sending it to the server.

How to Use

npm install error-string-parser
const parser = require("error-string-parser")

const hoge = parser.encode(new Error("hoge"))
console.log(hoge)
Memo
git add -A
git commit -m "first commit"
git tag -a v1.0.0 -m "My first version v1.0.0"
git push origin tags/v1.0.0
npm publish ./

About

Javascript Error Stringify

Resources

License

Stars

Watchers

Forks

Packages

No packages published