mec-errors
v1.0.3
Published
Simple library with abstract errors classes
Readme
Mecanizou Custom Errors Wrapper
This module adds custom errors types that you can abstract to specific errors in your application
Basic usage
const { InternalError } = require('mec-errors');
module.exports = function(){
try {
//...
} catch (error) {
throw new InternalError('some error');
}
//...
}