industry-collection-guard.cjs 293 B

1234567
  1. // The user's paid-collection stop remains in force. Preparation tasks cannot reopen it.
  2. function assertPaidCollectionAllowed() {
  3. const error = new Error('PAID_COLLECTION_STOPPED');
  4. error.code = 'PAID_COLLECTION_STOPPED';
  5. throw error;
  6. }
  7. module.exports = { assertPaidCollectionAllowed };