src/middlewares/index.js
import badJsonHandler from './validate-json.js';
import notFoundHandler from './not-found-error.js';
import errorHandler from './error-handler.js';
export {
badJsonHandler,
notFoundHandler,
errorHandler,
};
import badJsonHandler from './validate-json.js';
import notFoundHandler from './not-found-error.js';
import errorHandler from './error-handler.js';
export {
badJsonHandler,
notFoundHandler,
errorHandler,
};