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