- Implement error handling for skipped settlement runs in DrawSettlementRunController, returning appropriate error messages based on draw status. - Add validation in DrawPublishService to ensure draws are ready for publication, rejecting outdated result batches. - Update SettlementBatchWorkflowService to revert ticket statuses upon settlement rejection and restore jackpot pool amounts. - Refactor LotteryTransferService to improve transaction handling for transfer order reconciliation, ensuring idempotency during reversals. - Add multi-language support for new error messages related to settlement processes.
11 lines
462 B
PHP
11 lines
462 B
PHP
<?php
|
|
|
|
return [
|
|
'unauthenticated' => 'Unauthenticated or session expired.',
|
|
'invalid_captcha' => 'Invalid or expired captcha.',
|
|
'invalid_credentials' => 'Invalid account or password.',
|
|
'account_disabled' => 'This account has been disabled.',
|
|
'permission_denied' => 'You do not have permission to perform this action.',
|
|
'settlement_run_skipped' => 'Settlement was not run for this draw (check draw status and published result batch).',
|
|
];
|