declare const manageErrors: (app: any, error: any) => any;