import { NextFunction, Response } from "express"; import SexpressError from "./sexpressError"; export default function errorHandler(err: SexpressError, _: any, res: Response, __: NextFunction): void;