feat(ADM-018): completed feature
This commit is contained in:
6
project/src/modules/cart/domain/errors.ts
Normal file
6
project/src/modules/cart/domain/errors.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export class InvalidCartQuantityError extends Error {
|
||||
constructor() {
|
||||
super('Cart quantity must be a positive integer');
|
||||
this.name = 'InvalidCartQuantityError';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user