feat: created new features API version

This commit is contained in:
John Yeo
2025-11-14 15:59:39 +00:00
parent 2818c1687c
commit 4e68c3dc9a
138 changed files with 2561 additions and 2967 deletions

View File

@@ -14,3 +14,14 @@ export class CustomerNotFoundError extends RecaseError {
this.name = "CustomerNotFoundError";
}
}
export class CustomerAlreadyExistsError extends RecaseError {
constructor(opts: { message?: string; customerId: string }) {
super({
message: opts.message || `Customer ${opts.customerId} already exists`,
code: CusErrorCode.CustomerAlreadyExists,
statusCode: 409,
});
this.name = "CustomerAlreadyExistsError";
}
}