import MessageSource from "../property/MessageSource"; export declare class TSException extends Error { code?: string; msg?: string; detail?: string; param?: any; lang?: string; constructor(message?: string); } export declare class TSExceptionForNoRollback extends TSException { constructor(message?: string); } export default class TSExceptionBuilder { private _code?; private _msg?; private _detail?; private _stack?; private _param?; _lang?: string; messageSource?: MessageSource; code(_code: string): TSExceptionBuilder; msg(_msg: string): TSExceptionBuilder; detail(_detail: string): TSExceptionBuilder; stack(_stack: string[]): TSExceptionBuilder; param(_param: string[]): TSExceptionBuilder; lang(_lang: string): TSExceptionBuilder; build(...args: any[]): TSException; noRollback(): TSExceptionForNoRollback; } //# sourceMappingURL=TSException.d.ts.map