import { MidwayError } from '@midwayjs/core';
export declare const BizErrorEnum: {
    readonly UNKNOWN: "BIZ_10000";
};
/**
 * 业务异常
 */
export declare class BizError extends MidwayError {
    constructor(message?: string, code?: string | number);
}
/**
 * 校验异常
 */
export declare class ValidationError extends Error {
    constructor(message: string);
}
/**
 * 校验异常
 */
export declare class HttpExitError extends Error {
    data: any;
    httpStatus: number;
    constructor(httpStatus: number, message: string, data?: any);
}
