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