@orbital-frame/plugin-error-trap
v0.0.2-alpha.5
Published
Catch and report runtime errors
Downloads
12
Readme
@orbital-frame/plugin-error-trap
Intercept error messages and redirect them to channel output
Installing
npm install --save @orbital-frame/plugin-error-trap
Usage
import errorTrap from '@orbital-frame/plugin-error-trap'
// add `errorTrap` to your bot's plugins
Because plugins are loaded in order, error-trap should be loaded at the top in order to process all errors