1
1
Fork 0
mirror of https://github.com/Akif9748/akf-forum.git synced 2025-07-25 06:41:00 +03:00
akf-forum/errors/error.js
2022-03-13 16:16:46 +03:00

2 lines
95 B
JavaScript

module.exports = (res, type, error) =>
res.status(type).render("error", { type, error });