1.0.3 • Published 3 years ago
mec-errors v1.0.3
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');
}
//...
}