xpeditis2.0/apps/backend/src/domain/exceptions/rate-quote-expired.exception.ts
David 08787c89c8
Some checks failed
Dev CI / Unit Tests (${{ matrix.app }}) (backend) (push) Blocked by required conditions
Dev CI / Unit Tests (${{ matrix.app }}) (frontend) (push) Blocked by required conditions
Dev CI / Notify Failure (push) Blocked by required conditions
Dev CI / Quality (${{ matrix.app }}) (backend) (push) Has been cancelled
Dev CI / Quality (${{ matrix.app }}) (frontend) (push) Has been cancelled
chore: sync full codebase from cicd branch
Aligns dev with the complete application codebase (cicd branch).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 12:56:16 +02:00

17 lines
448 B
TypeScript

/**
* RateQuoteExpiredException
*
* Thrown when attempting to use an expired rate quote
*/
export class RateQuoteExpiredException extends Error {
constructor(
public readonly rateQuoteId: string,
public readonly expiredAt: Date
) {
super(`Rate quote ${rateQuoteId} expired at ${expiredAt.toISOString()}`);
this.name = 'RateQuoteExpiredException';
Object.setPrototypeOf(this, RateQuoteExpiredException.prototype);
}
}