INNER CODE UNIT · TypeScript
AIJobHuntingError
yangfeng20/ai-job · ai-job-hunting-ui/src/exp/index.ts:3
export class AIJobHuntingError extends Error {
constructor(message: string) {
super(message);
}
}
export class PlatformError extends AIJobHuntingError {
private platform: PlatformTypeEnum;
constructor(platformType: PlatformTypeEnum, message: string) {
super(message);
this.platform = platformType
}
}
/**
* 投递异常
*/