SimplError
Simple Custom Errors
Usage
const SimplError = throw message: 'Unexpected Error' code: 'UNEXPERR'
Extend
const SimplError = { thisname = 'DatabaseError' }
Simple Custom Errors
const SimplError = throw message: 'Unexpected Error' code: 'UNEXPERR'
const SimplError = { thisname = 'DatabaseError' }
npm i simplerror
0
1.0.0
MIT