Select Git revision
junit-platform-console-standalone-1.12.0.jar
-
Alexandre MAINTIER authoredAlexandre MAINTIER authored
error.middleware.js 303 B
const express = require('express');
const router = express.Router();
const errorController = require('../controllers/error.controller');
// catch 404 and forward to error handler
router.use(errorController.notFound);
// error handler
router.use(errorController.handleError);
module.exports = router;