withdrawserviceerrors

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrFailedCreateWithdraw is used when failed to create withdraw
	ErrFailedCreateWithdraw = errors.ErrInternal.WithMessage("Failed to create withdraw")

	// ErrFailedUpdateWithdraw is used when failed to update withdraw
	ErrFailedUpdateWithdraw = errors.ErrInternal.WithMessage("Failed to update withdraw")

	// ErrFailedTrashedWithdraw is used when failed to trash withdraw
	ErrFailedTrashedWithdraw = errors.ErrInternal.WithMessage("Failed to move withdraw to trash")

	// ErrFailedRestoreWithdraw is used when failed to restore withdraw
	ErrFailedRestoreWithdraw = errors.ErrInternal.WithMessage("Failed to restore withdraw")

	// ErrFailedDeleteWithdrawPermanent is used when failed to permanently delete withdraw
	ErrFailedDeleteWithdrawPermanent = errors.ErrInternal.WithMessage("Failed to delete withdraw permanently")

	// ErrFailedRestoreAllWithdraw is used when failed to restore all withdraws
	ErrFailedRestoreAllWithdraw = errors.ErrInternal.WithMessage("Failed to restore all withdraws")

	// ErrFailedDeleteAllWithdrawPermanent is used when failed to permanently delete all withdraws
	ErrFailedDeleteAllWithdrawPermanent = errors.ErrInternal.WithMessage("Failed to delete all withdraws permanently")
)
View Source
var (
	// ErrFailedFindAllWithdraws is used when failed to fetch all withdraws
	ErrFailedFindAllWithdraws = errors.ErrInternal.WithMessage("Failed to fetch all withdraws")

	// ErrWithdrawNotFound is used when withdraw is not found
	ErrWithdrawNotFound = errors.ErrNotFound.WithMessage("Withdraw not found")

	// ErrFailedFindAllWithdrawsByCard is used when failed to fetch all withdraws by card number
	ErrFailedFindAllWithdrawsByCard = errors.ErrInternal.WithMessage("Failed to fetch all withdraws by card number")

	// ErrFailedFindActiveWithdraws is used when failed to fetch active withdraws
	ErrFailedFindActiveWithdraws = errors.ErrInternal.WithMessage("Failed to fetch active withdraws")

	// ErrFailedFindTrashedWithdraws is used when failed to fetch trashed withdraws
	ErrFailedFindTrashedWithdraws = errors.ErrInternal.WithMessage("Failed to fetch trashed withdraws")
)
View Source
var ErrFailedFindMonthWithdrawStatusFailed = errors.NewErrorResponse("Failed to fetch monthly failed withdraws", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusFailed is used when failed to fetch monthly failed withdraws

View Source
var ErrFailedFindMonthWithdrawStatusFailedByCard = errors.NewErrorResponse("Failed to fetch monthly failed withdraws by card", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusFailedByCard is used when failed to fetch monthly failed withdraws by card

View Source
var ErrFailedFindMonthWithdrawStatusSuccess = errors.NewErrorResponse("Failed to fetch monthly successful withdraws", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusSuccess is used when failed to fetch monthly successful withdraws

View Source
var ErrFailedFindMonthWithdrawStatusSuccessByCard = errors.NewErrorResponse("Failed to fetch monthly successful withdraws by card", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusSuccessByCard is used when failed to fetch monthly successful withdraws by card

View Source
var ErrFailedFindMonthlyWithdraws = errors.NewErrorResponse("Failed to fetch monthly withdraw amounts", http.StatusInternalServerError)

ErrFailedFindMonthlyWithdraws is used when failed to fetch monthly withdraw amounts

View Source
var ErrFailedFindMonthlyWithdrawsByCardNumber = errors.NewErrorResponse("Failed to fetch monthly withdraw amounts by card", http.StatusInternalServerError)

ErrFailedFindMonthlyWithdrawsByCardNumber is used when failed to fetch monthly withdraw amounts by card

View Source
var ErrFailedFindYearWithdrawStatusFailed = errors.NewErrorResponse("Failed to fetch yearly failed withdraws", http.StatusInternalServerError)

ErrFailedFindYearWithdrawStatusFailed is used when failed to fetch yearly failed withdraws

View Source
var ErrFailedFindYearWithdrawStatusFailedByCard = errors.NewErrorResponse("Failed to fetch yearly failed withdraws by card", http.StatusInternalServerError)

ErrFailedFindYearWithdrawStatusFailedByCard is used when failed to fetch yearly failed withdraws by card

View Source
var ErrFailedFindYearWithdrawStatusSuccess = errors.NewErrorResponse("Failed to fetch yearly successful withdraws", http.StatusInternalServerError)

ErrFailedFindYearWithdrawStatusSuccess is used when failed to fetch yearly successful withdraws

View Source
var ErrFailedFindYearWithdrawStatusSuccessByCard = errors.NewErrorResponse("Failed to fetch yearly successful withdraws by card", http.StatusInternalServerError)

ErrFailedFindYearWithdrawStatusSuccessByCard is used when failed to fetch yearly successful withdraws by card

View Source
var ErrFailedFindYearlyWithdraws = errors.NewErrorResponse("Failed to fetch yearly withdraw amounts", http.StatusInternalServerError)

ErrFailedFindYearlyWithdraws is used when failed to fetch yearly withdraw amounts

View Source
var ErrFailedFindYearlyWithdrawsByCardNumber = errors.NewErrorResponse("Failed to fetch yearly withdraw amounts by card", http.StatusInternalServerError)

ErrFailedFindYearlyWithdrawsByCardNumber is used when failed to fetch yearly withdraw amounts by card

View Source
var ErrFailedSendEmail = errors.NewErrorResponse("Failed to send email", http.StatusInternalServerError)

ErrFailedSendEmail is used when failed to send email

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