import { Middleware } from "@feathersjs/hooks"; import { SystemError, UserError } from "@microsoft/teamsfx-api"; /** * in case there're some uncatched exceptions, this middleware will act as a guard * to catch exceptions and return specific error. */ export declare const ErrorHandlerMW: Middleware; export declare function convertError(err: Error): UserError | SystemError | Error; //# sourceMappingURL=errorHandler.d.ts.map