1.1.1 • Published 6 years ago
@front.build/supererror v1.1.1
Put your error code range into the wiki so they are globally unique.
Usage
var Codes = require('@front.build/supererror')
codes.error(1000, 'INVALID_RECORD', 'Record is invalid.')
codes.catch(function(error){
console.error('Unhandled error', error)
})