withdrawrepositoryerrors

package
v1.0.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrGetMonthlyWithdrawsFailed is used when the system fails to get monthly withdraw amounts
	ErrGetMonthlyWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw amounts")

	// ErrGetYearlyWithdrawsFailed is used when the system fails to get yearly withdraw amounts
	ErrGetYearlyWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw amounts")

	// ErrGetMonthlyWithdrawsByCardFailed indicates a failure when retrieving monthly withdraw amounts by card number.
	ErrGetMonthlyWithdrawsByCardFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw amounts by card number")

	// ErrGetYearlyWithdrawsByCardFailed indicates a failure when retrieving yearly withdraw amounts by card number.
	ErrGetYearlyWithdrawsByCardFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw amounts by card number")
)
View Source
var (
	// ErrCreateWithdrawFailed indicates a failure when creating a new withdraw record.
	ErrCreateWithdrawFailed = errors.ErrInternal.WithMessage("Failed to create withdraw")

	// ErrUpdateWithdrawFailed indicates a failure when updating a withdraw record.
	ErrUpdateWithdrawFailed = errors.ErrInternal.WithMessage("Failed to update withdraw")

	// ErrUpdateWithdrawStatusFailed indicates a failure when updating the status of a withdraw record.
	ErrUpdateWithdrawStatusFailed = errors.ErrInternal.WithMessage("Failed to update withdraw status")

	// ErrTrashedWithdrawFailed indicates a failure when soft-deleting (trashing) a withdraw record.
	ErrTrashedWithdrawFailed = errors.ErrInternal.WithMessage("Failed to move withdraw to trash")

	// ErrRestoreWithdrawFailed indicates a failure when restoring a previously trashed withdraw record.
	ErrRestoreWithdrawFailed = errors.ErrInternal.WithMessage("Failed to restore withdraw from trash")

	// ErrDeleteWithdrawPermanentFailed indicates a failure when permanently deleting a withdraw record.
	ErrDeleteWithdrawPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete withdraw")

	// ErrRestoreAllWithdrawsFailed indicates a failure when restoring all trashed withdraw records.
	ErrRestoreAllWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to restore all withdraws")

	// ErrDeleteAllWithdrawsPermanentFailed indicates a failure when permanently deleting all withdraw records.
	ErrDeleteAllWithdrawsPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete all withdraws")
)
View Source
var (
	// ErrFindAllWithdrawsFailed is used when the system fails to find all withdraws
	ErrFindAllWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to find all withdraws")

	// ErrFindActiveWithdrawsFailed is used when the system fails to find active withdraws
	ErrFindActiveWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to find active withdraws")

	// ErrFindTrashedWithdrawsFailed is used when the system fails to find trashed withdraws
	ErrFindTrashedWithdrawsFailed = errors.ErrInternal.WithMessage("Failed to find trashed withdraws")

	// ErrFindWithdrawsByCardNumberFailed is used when the system fails to find withdraws by card number
	ErrFindWithdrawsByCardNumberFailed = errors.ErrInternal.WithMessage("Failed to find withdraws by card number")

	// ErrFindWithdrawByIdFailed is used when the system fails to find a withdraw by ID
	ErrFindWithdrawByIdFailed = errors.ErrInternal.WithMessage("Failed to find withdraw by ID")
)
View Source
var (
	// ErrGetMonthWithdrawStatusSuccessFailed is used when the system fails to get the monthly withdraw status success
	ErrGetMonthWithdrawStatusSuccessFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw status success")

	// ErrGetYearlyWithdrawStatusSuccessFailed is used when the system fails to get the yearly withdraw status success
	ErrGetYearlyWithdrawStatusSuccessFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw status success")

	// ErrGetMonthWithdrawStatusSuccessByCardFailed is used when the system fails to get the monthly withdraw status success by card number
	ErrGetMonthWithdrawStatusSuccessByCardFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw status success by card number")

	// ErrGetYearlyWithdrawStatusSuccessByCardFailed is used when the system fails to get the yearly withdraw status success by card number
	ErrGetYearlyWithdrawStatusSuccessByCardFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw status success by card number")

	// ErrGetMonthWithdrawStatusFailedFailed is used when the system fails to get the monthly withdraw status failed
	ErrGetMonthWithdrawStatusFailedFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw status failed")

	// ErrGetYearlyWithdrawStatusFailedFailed is used when the system fails to get the yearly withdraw status failed
	ErrGetYearlyWithdrawStatusFailedFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw status failed")

	// ErrGetMonthWithdrawStatusFailedByCardFailed is used when the system fails to get the monthly withdraw status failed by card number
	ErrGetMonthWithdrawStatusFailedByCardFailed = errors.ErrInternal.WithMessage("Failed to get monthly withdraw status failed by card number")

	// ErrGetYearlyWithdrawStatusFailedByCardFailed is used when the system fails to get the yearly withdraw status failed by card number
	ErrGetYearlyWithdrawStatusFailedByCardFailed = errors.ErrInternal.WithMessage("Failed to get yearly withdraw status failed by card number")
)

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