@basekits/kit-error
Error helper functions kit for basekits.
Install
npm i @basekits/kit-error
Usage
const kit = require('@basekits/core')
const type = require('@basekits/kit-type')
kit.addKit(type)
Available Items
The following methods will be available after adding this kit:
.objectifyError(err)
Converts javascript native error to an object.
.stringifyError(err)
Converts javascript native error to a string.