topuprepositoryerrors

package
v1.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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")
)
View Source
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")
)
View Source
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.

View Source
var ErrGetMonthTopupStatusFailedFailed = errors.New("failed to get monthly topup status failed")

ErrGetMonthTopupStatusFailedFailed indicates failure in getting the monthly count of failed top-ups.

View Source
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.

View Source
var ErrGetMonthTopupStatusSuccessFailed = errors.New("failed to get monthly topup status success")

ErrGetMonthTopupStatusSuccessFailed indicates failure in getting the monthly count of successful top-ups.

View Source
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.

View Source
var ErrGetMonthlyTopupAmountsFailed = errors.New("failed to get monthly topup amounts")

ErrGetMonthlyTopupAmountsFailed indicates failure in retrieving the monthly top-up amounts.

View Source
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.

View Source
var ErrGetMonthlyTopupMethodsFailed = errors.New("failed to get monthly topup methods")

ErrGetMonthlyTopupMethodsFailed indicates failure in retrieving monthly top-up payment methods statistics.

View Source
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.

View Source
var ErrGetYearlyTopupAmountsFailed = errors.New("failed to get yearly topup amounts")

ErrGetYearlyTopupAmountsFailed indicates failure in retrieving the yearly top-up amounts.

View Source
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.

View Source
var ErrGetYearlyTopupMethodsFailed = errors.New("failed to get yearly topup methods")

ErrGetYearlyTopupMethodsFailed indicates failure in retrieving yearly top-up payment methods statistics.

View Source
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.

View Source
var ErrGetYearlyTopupStatusFailedFailed = errors.New("failed to get yearly topup status failed")

ErrGetYearlyTopupStatusFailedFailed indicates failure in getting the yearly count of failed top-ups.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL