1 export class DuplicateIdPropertyError extends Error {
2 constructor(modelName: string) {
3 super(`The model ${modelName} can only have one usage of the id() property`)
4 }
5 }