import { Context } from '@midwayjs/koa';
export declare class DefaultErrorFilter {
    private logger;
    catch(err: Error, ctx: Context): Promise<{
        success: boolean;
        code: string;
        message: string;
    }>;
}
