公告板
版本库
filestore
活动
搜索
登录
main
/
IC_RW
IC本地读写桌面程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
初始化项目
15815213711
2024-08-26
67b8b6731811983447e053d4396b3708c14dfe3c
[IC_RW.git]
/
node_modules
/
egg-errors
/
lib
/
base.d.ts
1
2
3
4
5
6
7
8
9
10
import ErrorOptions from './error_options';
declare class BaseError<T extends ErrorOptions> extends Error {
[key: string]: any;
static getType(err: Error): string;
static from<S extends new (...args: any) => InstanceType<typeof BaseError>, P extends ConstructorParameters<S>>(this: S, err: Error, ...args: P | undefined[]): InstanceType<S>;
code: string;
protected options?: T;
constructor(options?: T);
}
export default BaseError;