Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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") )
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") )
var ErrFailedFindMonthWithdrawStatusFailed = errors.NewErrorResponse("Failed to fetch monthly failed withdraws", http.StatusInternalServerError)
ErrFailedFindMonthWithdrawStatusFailed is used when failed to fetch monthly failed withdraws
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
var ErrFailedFindMonthWithdrawStatusSuccess = errors.NewErrorResponse("Failed to fetch monthly successful withdraws", http.StatusInternalServerError)
ErrFailedFindMonthWithdrawStatusSuccess is used when failed to fetch monthly successful withdraws
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
var ErrFailedFindMonthlyWithdraws = errors.NewErrorResponse("Failed to fetch monthly withdraw amounts", http.StatusInternalServerError)
ErrFailedFindMonthlyWithdraws is used when failed to fetch monthly withdraw amounts
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
var ErrFailedFindYearWithdrawStatusFailed = errors.NewErrorResponse("Failed to fetch yearly failed withdraws", http.StatusInternalServerError)
ErrFailedFindYearWithdrawStatusFailed is used when failed to fetch yearly failed withdraws
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
var ErrFailedFindYearWithdrawStatusSuccess = errors.NewErrorResponse("Failed to fetch yearly successful withdraws", http.StatusInternalServerError)
ErrFailedFindYearWithdrawStatusSuccess is used when failed to fetch yearly successful withdraws
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
var ErrFailedFindYearlyWithdraws = errors.NewErrorResponse("Failed to fetch yearly withdraw amounts", http.StatusInternalServerError)
ErrFailedFindYearlyWithdraws is used when failed to fetch yearly withdraw amounts
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
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.