Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrCreateTopupFailed indicates failure in creating a new top-up record. ErrCreateTopupFailed = errors.ErrInternal.WithMessage("Failed to create topup") // ErrUpdateTopupFailed indicates failure in updating an existing top-up record. ErrUpdateTopupFailed = errors.ErrInternal.WithMessage("Failed to update topup") // ErrUpdateTopupAmountFailed indicates failure in updating only the top-up amount. ErrUpdateTopupAmountFailed = errors.ErrInternal.WithMessage("Failed to update topup amount") // ErrUpdateTopupStatusFailed indicates failure in updating the top-up status (e.g., success/failed). ErrUpdateTopupStatusFailed = errors.ErrInternal.WithMessage("Failed to update topup status") // ErrTrashedTopupFailed indicates failure in soft-deleting (trashing) a top-up. ErrTrashedTopupFailed = errors.ErrInternal.WithMessage("Failed to move topup to trash") // ErrRestoreTopupFailed indicates failure in restoring a previously trashed top-up. ErrRestoreTopupFailed = errors.ErrInternal.WithMessage("Failed to restore topup from trash") // ErrDeleteTopupPermanentFailed indicates failure in permanently deleting a top-up. ErrDeleteTopupPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete topup") // ErrRestoreAllTopupFailed indicates failure in restoring all trashed top-ups. ErrRestoreAllTopupFailed = errors.ErrInternal.WithMessage("Failed to restore all topups") // ErrDeleteAllTopupPermanentFailed indicates failure in permanently deleting all trashed top-ups. ErrDeleteAllTopupPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete all topups") )
var ( // ErrFindAllTopupsFailed indicates failure in retrieving all top-up records from the database. ErrFindAllTopupsFailed = errors.ErrInternal.WithMessage("Failed to find all topups") // ErrFindTopupsByActiveFailed indicates failure in retrieving only the active (non-deleted) top-ups. ErrFindTopupsByActiveFailed = errors.ErrInternal.WithMessage("Failed to find active topups") // ErrFindTopupsByTrashedFailed indicates failure in retrieving trashed (soft-deleted) top-ups. ErrFindTopupsByTrashedFailed = errors.ErrInternal.WithMessage("Failed to find trashed topups") // ErrFindTopupsByCardNumberFailed indicates failure in finding top-ups by a specific card number. ErrFindTopupsByCardNumberFailed = errors.ErrInternal.WithMessage("Failed to find topups by card number") // ErrFindTopupByIdFailed indicates failure in finding a top-up using its unique ID. ErrFindTopupByIdFailed = errors.ErrInternal.WithMessage("Failed to find topup by ID") )
var ErrGetMonthTopupStatusFailedByCardFailed = errors.New("failed to get monthly topup status failed by card number")
ErrGetMonthTopupStatusFailedByCardFailed indicates failure in getting monthly failed top-up status by card number.
var ErrGetMonthTopupStatusFailedFailed = errors.New("failed to get monthly topup status failed")
ErrGetMonthTopupStatusFailedFailed indicates failure in getting the monthly count of failed top-ups.
var ErrGetMonthTopupStatusSuccessByCardFailed = errors.New("failed to get monthly topup status success by card number")
ErrGetMonthTopupStatusSuccessByCardFailed indicates failure in getting monthly successful top-up status by card number.
var ErrGetMonthTopupStatusSuccessFailed = errors.New("failed to get monthly topup status success")
ErrGetMonthTopupStatusSuccessFailed indicates failure in getting the monthly count of successful top-ups.
var ErrGetMonthlyTopupAmountsByCardFailed = errors.New("failed to get monthly topup amounts by card number")
ErrGetMonthlyTopupAmountsByCardFailed indicates failure in retrieving monthly top-up amount stats by card number.
var ErrGetMonthlyTopupAmountsFailed = errors.New("failed to get monthly topup amounts")
ErrGetMonthlyTopupAmountsFailed indicates failure in retrieving the monthly top-up amounts.
var ErrGetMonthlyTopupMethodsByCardFailed = errors.New("failed to get monthly topup methods by card number")
ErrGetMonthlyTopupMethodsByCardFailed indicates failure in retrieving monthly payment method stats by card number.
var ErrGetMonthlyTopupMethodsFailed = errors.New("failed to get monthly topup methods")
ErrGetMonthlyTopupMethodsFailed indicates failure in retrieving monthly top-up payment methods statistics.
var ErrGetYearlyTopupAmountsByCardFailed = errors.New("failed to get yearly topup amounts by card number")
ErrGetYearlyTopupAmountsByCardFailed indicates failure in retrieving yearly top-up amount stats by card number.
var ErrGetYearlyTopupAmountsFailed = errors.New("failed to get yearly topup amounts")
ErrGetYearlyTopupAmountsFailed indicates failure in retrieving the yearly top-up amounts.
var ErrGetYearlyTopupMethodsByCardFailed = errors.New("failed to get yearly topup methods by card number")
ErrGetYearlyTopupMethodsByCardFailed indicates failure in retrieving yearly payment method stats by card number.
var ErrGetYearlyTopupMethodsFailed = errors.New("failed to get yearly topup methods")
ErrGetYearlyTopupMethodsFailed indicates failure in retrieving yearly top-up payment methods statistics.
var ErrGetYearlyTopupStatusFailedByCardFailed = errors.New("failed to get yearly topup status failed by card number")
ErrGetYearlyTopupStatusFailedByCardFailed indicates failure in getting yearly failed top-up status by card number.
var ErrGetYearlyTopupStatusFailedFailed = errors.New("failed to get yearly topup status failed")
ErrGetYearlyTopupStatusFailedFailed indicates failure in getting the yearly count of failed top-ups.
var ErrGetYearlyTopupStatusSuccessByCardFailed = errors.New("failed to get yearly topup status success by card number")
ErrGetYearlyTopupStatusSuccessByCardFailed indicates failure in getting yearly successful top-up status by card number.
var ErrGetYearlyTopupStatusSuccessFailed = errors.New("failed to get yearly topup status success")
ErrGetYearlyTopupStatusSuccessFailed indicates failure in getting the yearly count of successful top-ups.
Functions ¶
This section is empty.
Types ¶
This section is empty.