/** * # 错误码 * * 共8位,前三位为大类,后五位为具体错误。 * * 后五位中在引用的地方自定义分类 * * ## 大类分类 * * - 001: 来自core包的共识错误 * - 002: 来自pc节点包的错误 * - 003: 来自browser的错误 * - 004: 来自app的错误 * * 后续自行补充。。。 * */ export declare class ErrorCode { private __code; private __message; constructor(code: T, message: U); get code(): string; get message(): string; set message(newMessage: string); build(args?: { [key: string]: string | number; }): string; }