You can create a function wrapper to catch all the errors and send them to the error middleware: const errorHandler = (routeHandler) => (req ...
確定! 回上一頁