import type { NextFunction, Request, Response } from 'express'; import { notFound } from '../errors/api-error'; export function notFoundHandler( _req: Request, _res: Response, next: NextFunction, ): void { next(notFound()); }