feat(ADM-018): completed feature

This commit is contained in:
chattie
2026-08-17 22:23:10 +02:00
parent cf1c69fc8b
commit d595b4871f
871 changed files with 47411 additions and 281 deletions

View File

@@ -0,0 +1,16 @@
export class OrderStateTransitionError extends Error {
constructor(
public readonly from: string,
public readonly to: string,
) {
super(`Order state transition from ${from} to ${to} is not allowed`);
this.name = 'OrderStateTransitionError';
}
}
export class OrderNotFoundError extends Error {
constructor() {
super('Order not found');
this.name = 'OrderNotFoundError';
}
}