Moved from CJS to ESM + small improvements like logging
This commit is contained in:
parent
61df35a271
commit
c57160e05d
16 changed files with 512 additions and 488 deletions
|
|
@ -4,6 +4,5 @@ export abstract class ErrorController {
|
|||
/** A human readable string to describe the error this controller handles. */
|
||||
public handlesError?: string;
|
||||
|
||||
|
||||
abstract handle(error: unknown, req: Request, res: Response, next: NextFunction): any | Promise<any>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue