withdraw_errors

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 5 Imported by: 0

README

📦 Package withdraw_errors

Source Path: shared/errors/withdraw_errors

🏷️ Variables

Var:

ErrApiBindCreateWithdraw is an error response for bind failed: invalid create withdraw request.

var ErrApiBindCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid create withdraw request", http.StatusBadRequest)
}

Var:

ErrApiBindUpdateWithdraw is an error response for bind failed: invalid update withdraw request.

var ErrApiBindUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid update withdraw request", http.StatusBadRequest)
}

Var:

ErrApiFailedCreateWithdraw is an error response for failed to create withdraw.

var ErrApiFailedCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to create withdraw", http.StatusInternalServerError)
}

Var:

ErrApiFailedDeleteAllWithdrawPermanent is an error response for failed to permanently delete all withdraws.

var ErrApiFailedDeleteAllWithdrawPermanent = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to permanently delete all withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedDeleteWithdrawPermanent is an error response for failed to permanently delete withdraw.

var ErrApiFailedDeleteWithdrawPermanent = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to permanently delete withdraw", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindAllWithdraw is an error response for failed to fetch all withdraws.

var ErrApiFailedFindAllWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch all withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindAllWithdrawByCardNumber is an error response for failed to fetch withdraws by card number.

var ErrApiFailedFindAllWithdrawByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindByActiveWithdraw is an error response for failed to fetch active withdraws.

var ErrApiFailedFindByActiveWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch active withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindByCardNumber is an error response for failed to fetch withdraws using card number.

var ErrApiFailedFindByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws using card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindByIdWithdraw is an error response for failed to fetch withdraw by ID.

var ErrApiFailedFindByIdWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraw by ID", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindByTrashedWithdraw is an error response for failed to fetch trashed withdraws.

var ErrApiFailedFindByTrashedWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch trashed withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdrawStatusFailed is an error response for failed to fetch monthly failed withdraws.

var ErrApiFailedFindMonthlyWithdrawStatusFailed = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber is an error response for failed to fetch monthly failed withdraws by card number.

var ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdrawStatusSuccess is an error response for failed to fetch monthly successful withdraws.

var ErrApiFailedFindMonthlyWithdrawStatusSuccess = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch monthly successful withdraws by card number.

var ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdraws is an error response for failed to fetch monthly withdraw amounts.

var ErrApiFailedFindMonthlyWithdraws = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindMonthlyWithdrawsByCardNumber is an error response for failed to fetch monthly withdraw amounts by card number.

var ErrApiFailedFindMonthlyWithdrawsByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdrawStatusFailed is an error response for failed to fetch yearly failed withdraws.

var ErrApiFailedFindYearlyWithdrawStatusFailed = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber is an error response for failed to fetch yearly failed withdraws by card number.

var ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdrawStatusSuccess is an error response for failed to fetch yearly successful withdraws.

var ErrApiFailedFindYearlyWithdrawStatusSuccess = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch yearly successful withdraws by card number.

var ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdraws is an error response for failed to fetch yearly withdraw amounts.

var ErrApiFailedFindYearlyWithdraws = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts", http.StatusInternalServerError)
}

Var:

ErrApiFailedFindYearlyWithdrawsByCardNumber is an error response for failed to fetch yearly withdraw amounts by card number.

var ErrApiFailedFindYearlyWithdrawsByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts by card number", http.StatusInternalServerError)
}

Var:

ErrApiFailedRestoreAllWithdraw is an error response for failed to restore all withdraws.

var ErrApiFailedRestoreAllWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to restore all withdraws", http.StatusInternalServerError)
}

Var:

ErrApiFailedRestoreWithdraw is an error response for failed to restore withdraw.

var ErrApiFailedRestoreWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to restore withdraw", http.StatusInternalServerError)
}

Var:

ErrApiFailedTrashedWithdraw is an error response for failed to move withdraw to trash.

var ErrApiFailedTrashedWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to move withdraw to trash", http.StatusInternalServerError)
}

Var:

ErrApiFailedUpdateWithdraw is an error response for failed to update withdraw.

var ErrApiFailedUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to update withdraw", http.StatusInternalServerError)
}

Var:

ErrApiInvalidCardNumber is an error response for invalid card number.

var ErrApiInvalidCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid card number", http.StatusBadRequest)
}

Var:

ErrApiInvalidMonth is an error response for invalid month.

var ErrApiInvalidMonth = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid month", http.StatusBadRequest)
}

Var:

ErrApiInvalidYear is an error response for invalid year.

var ErrApiInvalidYear = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "year", "Invalid year", http.StatusBadRequest)
}

Var:

ErrApiValidateCreateWithdraw is an error response for validation failed: invalid create withdraw request.

var ErrApiValidateCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid create withdraw request", http.StatusBadRequest)
}

Var:

ErrApiValidateUpdateWithdraw is an error response for validation failed: invalid update withdraw request.

var ErrApiValidateUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid update withdraw request", http.StatusBadRequest)
}

Var:

ErrApiWithdrawInvalidID is an error response for invalid withdraw ID.

var ErrApiWithdrawInvalidID = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid Withdraw ID", http.StatusBadRequest)
}

Var:

ErrApiWithdrawInvalidUserID is an error response for invalid withdraw merchant ID.

var ErrApiWithdrawInvalidUserID = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid Withdraw Merchant ID", http.StatusBadRequest)
}

Var:

ErrApiWithdrawNotFound is an error response for withdraw not found.

var ErrApiWithdrawNotFound = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Withdraw not found", http.StatusNotFound)
}

Var:

ErrCreateWithdrawFailed indicates a failure when creating a new withdraw record.

var ErrCreateWithdrawFailed = errors.New("failed to create withdraw")

Var:

ErrDeleteAllWithdrawsPermanentFailed indicates a failure when permanently deleting all withdraw records.

var ErrDeleteAllWithdrawsPermanentFailed = errors.New("failed to permanently delete all withdraws")

Var:

ErrDeleteWithdrawPermanentFailed indicates a failure when permanently deleting a withdraw record.

var ErrDeleteWithdrawPermanentFailed = errors.New("failed to permanently delete withdraw")

Var:

ErrFailedCreateWithdraw is used when failed to create withdraw

var ErrFailedCreateWithdraw = response.NewErrorResponse("Failed to create withdraw", http.StatusInternalServerError)

Var:

ErrFailedDeleteAllWithdrawPermanent is used when failed to permanently delete all withdraws

var ErrFailedDeleteAllWithdrawPermanent = response.NewErrorResponse("Failed to permanently delete all withdraws", http.StatusInternalServerError)

Var:

ErrFailedDeleteWithdrawPermanent is used when failed to permanently delete withdraw

var ErrFailedDeleteWithdrawPermanent = response.NewErrorResponse("Failed to permanently delete withdraw", http.StatusInternalServerError)

Var:

ErrFailedFindActiveWithdraws is used when failed to fetch active withdraws

var ErrFailedFindActiveWithdraws = response.NewErrorResponse("Failed to fetch active withdraws", http.StatusInternalServerError)

Var:

ErrFailedFindAllWithdraws is used when failed to fetch all withdraws

var ErrFailedFindAllWithdraws = response.NewErrorResponse("Failed to fetch all withdraws", http.StatusInternalServerError)

Var:

ErrFailedFindAllWithdrawsByCard is used when failed to fetch all withdraws by card number

var ErrFailedFindAllWithdrawsByCard = response.NewErrorResponse("Failed to fetch all withdraws by card number", http.StatusInternalServerError)

Var:

ErrFailedFindMonthWithdrawStatusFailed is used when failed to fetch monthly failed withdraws

var ErrFailedFindMonthWithdrawStatusFailed = response.NewErrorResponse("Failed to fetch monthly failed withdraws", http.StatusInternalServerError)

Var:

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

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

Var:

ErrFailedFindMonthWithdrawStatusSuccess is used when failed to fetch monthly successful withdraws

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

Var:

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

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

Var:

ErrFailedFindMonthlyWithdraws is used when failed to fetch monthly withdraw amounts

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

Var:

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

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

Var:

ErrFailedFindTrashedWithdraws is used when failed to fetch trashed withdraws

var ErrFailedFindTrashedWithdraws = response.NewErrorResponse("Failed to fetch trashed withdraws", http.StatusInternalServerError)

Var:

ErrFailedFindYearWithdrawStatusFailed is used when failed to fetch yearly failed withdraws

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

Var:

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

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

Var:

ErrFailedFindYearWithdrawStatusSuccess is used when failed to fetch yearly successful withdraws

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

Var:

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

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

Var:

ErrFailedFindYearlyWithdraws is used when failed to fetch yearly withdraw amounts

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

Var:

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

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

Var:

ErrFailedRestoreAllWithdraw is used when failed to restore all withdraws

var ErrFailedRestoreAllWithdraw = response.NewErrorResponse("Failed to restore all withdraws", http.StatusInternalServerError)

Var:

ErrFailedRestoreWithdraw is used when failed to restore withdraw

var ErrFailedRestoreWithdraw = response.NewErrorResponse("Failed to restore withdraw", http.StatusInternalServerError)

Var:

ErrFailedSendEmail is used when failed to send email

var ErrFailedSendEmail = response.NewErrorResponse("Failed to send email", http.StatusInternalServerError)

Var:

ErrFailedTrashedWithdraw is used when failed to trash withdraw

var ErrFailedTrashedWithdraw = response.NewErrorResponse("Failed to trash withdraw", http.StatusInternalServerError)

Var:

ErrFailedUpdateWithdraw is used when failed to update withdraw

var ErrFailedUpdateWithdraw = response.NewErrorResponse("Failed to update withdraw", http.StatusInternalServerError)

Var:

ErrFindActiveWithdrawsFailed is used when the system fails to find active withdraws

var ErrFindActiveWithdrawsFailed = errors.New("failed to find active withdraws")

Var:

ErrFindAllWithdrawsFailed is used when the system fails to find all withdraws

var ErrFindAllWithdrawsFailed = errors.New("failed to find all withdraws")

Var:

ErrFindTrashedWithdrawsFailed is used when the system fails to find trashed withdraws

var ErrFindTrashedWithdrawsFailed = errors.New("failed to find trashed withdraws")

Var:

ErrFindWithdrawByIdFailed is used when the system fails to find a withdraw by ID

var ErrFindWithdrawByIdFailed = errors.New("failed to find withdraw by ID")

Var:

ErrFindWithdrawsByCardNumberFailed is used when the system fails to find withdraws by card number

var ErrFindWithdrawsByCardNumberFailed = errors.New("failed to find withdraws by card number")

Var:

ErrGetMonthWithdrawStatusFailedByCardFailed is used when the system fails to get the monthly withdraw status failed by card number

var ErrGetMonthWithdrawStatusFailedByCardFailed = errors.New("failed to get monthly withdraw status failed by card number")

Var:

ErrGetMonthWithdrawStatusFailedFailed is used when the system fails to get the monthly withdraw status failed

var ErrGetMonthWithdrawStatusFailedFailed = errors.New("failed to get monthly withdraw status failed")

Var:

ErrGetMonthWithdrawStatusSuccessByCardFailed is used when the system fails to get the monthly withdraw status success by card number

var ErrGetMonthWithdrawStatusSuccessByCardFailed = errors.New("failed to get monthly withdraw status success by card number")

Var:

ErrGetMonthWithdrawStatusSuccessFailed is used when the system fails to get the monthly withdraw status success

var ErrGetMonthWithdrawStatusSuccessFailed = errors.New("failed to get monthly withdraw status success")

Var:

ErrGetMonthlyWithdrawsByCardFailed indicates a failure when retrieving monthly withdraw amounts by card number.

var ErrGetMonthlyWithdrawsByCardFailed = errors.New("failed to get monthly withdraw amounts by card number")

Var:

ErrGetMonthlyWithdrawsFailed is used when the system fails to get monthly withdraw amounts

var ErrGetMonthlyWithdrawsFailed = errors.New("failed to get monthly withdraw amounts")

Var:

ErrGetYearlyWithdrawStatusFailedByCardFailed is used when the system fails to get the yearly withdraw status failed by card number

var ErrGetYearlyWithdrawStatusFailedByCardFailed = errors.New("failed to get yearly withdraw status failed by card number")

Var:

ErrGetYearlyWithdrawStatusFailedFailed is used when the system fails to get the yearly withdraw status failed

var ErrGetYearlyWithdrawStatusFailedFailed = errors.New("failed to get yearly withdraw status failed")

Var:

ErrGetYearlyWithdrawStatusSuccessByCardFailed is used when the system fails to get the yearly withdraw status success by card number

var ErrGetYearlyWithdrawStatusSuccessByCardFailed = errors.New("failed to get yearly withdraw status success by card number")

Var:

ErrGetYearlyWithdrawStatusSuccessFailed is used when the system fails to get the yearly withdraw status success

var ErrGetYearlyWithdrawStatusSuccessFailed = errors.New("failed to get yearly withdraw status success")

Var:

ErrGetYearlyWithdrawsByCardFailed indicates a failure when retrieving yearly withdraw amounts by card number.

var ErrGetYearlyWithdrawsByCardFailed = errors.New("failed to get yearly withdraw amounts by card number")

Var:

ErrGetYearlyWithdrawsFailed is used when the system fails to get yearly withdraw amounts

var ErrGetYearlyWithdrawsFailed = errors.New("failed to get yearly withdraw amounts")

Var:

ErrRestoreAllWithdrawsFailed indicates a failure when restoring all trashed withdraw records.

var ErrRestoreAllWithdrawsFailed = errors.New("failed to restore all withdraws")

Var:

ErrRestoreWithdrawFailed indicates a failure when restoring a previously trashed withdraw record.

var ErrRestoreWithdrawFailed = errors.New("failed to restore withdraw")

Var:

ErrTrashedWithdrawFailed indicates a failure when soft-deleting (trashing) a withdraw record.

var ErrTrashedWithdrawFailed = errors.New("failed to soft-delete (trash) withdraw")

Var:

ErrUpdateWithdrawFailed indicates a failure when updating a withdraw record.

var ErrUpdateWithdrawFailed = errors.New("failed to update withdraw")

Var:

ErrUpdateWithdrawStatusFailed indicates a failure when updating the status of a withdraw record.

var ErrUpdateWithdrawStatusFailed = errors.New("failed to update withdraw status")

Var:

ErrWithdrawNotFound is used when withdraw is not found

var ErrWithdrawNotFound = response.NewErrorResponse("Withdraw not found", http.StatusNotFound)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGrpcWithdrawNotFound  = response.NewGrpcError("withdraw", "Withdraw not found", int(codes.NotFound))
	ErrGrpcWithdrawInvalidID = response.NewGrpcError("withdraw", "Invalid Withdraw ID", int(codes.InvalidArgument))
	ErrGrpcInvalidUserID     = response.NewGrpcError("card_id", "Invalid user ID", int(codes.InvalidArgument))
	ErrGrpcInvalidCardNumber = response.NewGrpcError("card_id", "Invalid card number", int(codes.InvalidArgument))
	ErrGrpcInvalidMonth      = response.NewGrpcError("month", "Invalid month", int(codes.InvalidArgument))
	ErrGrpcInvalidYear       = response.NewGrpcError("year", "Invalid year", int(codes.InvalidArgument))

	ErrGrpcFailedFindAllWithdraw             = response.NewGrpcError("withdraw", "Failed to fetch all withdraws", int(codes.Internal))
	ErrGrpcFailedFindAllWithdrawByCardNumber = response.NewGrpcError("withdraw", "Failed to fetch withdraws by card number", int(codes.Internal))
	ErrGrpcFailedFindByIdWithdraw            = response.NewGrpcError("withdraw", "Failed to fetch withdraw by ID", int(codes.Internal))
	ErrGrpcFailedFindByCardNumber            = response.NewGrpcError("withdraw", "Failed to fetch withdraws using card number", int(codes.Internal))
	ErrGrpcFailedFindByActiveWithdraw        = response.NewGrpcError("withdraw", "Failed to fetch active withdraws", int(codes.Internal))
	ErrGrpcFailedFindByTrashedWithdraw       = response.NewGrpcError("withdraw", "Failed to fetch trashed withdraws", int(codes.Internal))

	ErrGrpcFailedFindMonthlyWithdrawStatusSuccess           = response.NewGrpcError("withdraw", "Failed to fetch monthly successful withdraws", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdrawStatusSuccess            = response.NewGrpcError("withdraw", "Failed to fetch yearly successful withdraws", int(codes.Internal))
	ErrGrpcFailedFindMonthlyWithdrawStatusFailed            = response.NewGrpcError("withdraw", "Failed to fetch monthly failed withdraws", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdrawStatusFailed             = response.NewGrpcError("withdraw", "Failed to fetch yearly failed withdraws", int(codes.Internal))
	ErrGrpcFailedFindMonthlyWithdrawStatusSuccessCardNumber = response.NewGrpcError("withdraw", "Failed to fetch monthly successful withdraws by card number", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdrawStatusSuccessCardNumber  = response.NewGrpcError("withdraw", "Failed to fetch yearly successful withdraws by card number", int(codes.Internal))
	ErrGrpcFailedFindMonthlyWithdrawStatusFailedCardNumber  = response.NewGrpcError("withdraw", "Failed to fetch monthly failed withdraws by card number", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdrawStatusFailedCardNumber   = response.NewGrpcError("withdraw", "Failed to fetch yearly failed withdraws by card number", int(codes.Internal))

	ErrGrpcFailedFindMonthlyWithdraws             = response.NewGrpcError("withdraw", "Failed to fetch monthly withdraw amounts", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdraws              = response.NewGrpcError("withdraw", "Failed to fetch yearly withdraw amounts", int(codes.Internal))
	ErrGrpcFailedFindMonthlyWithdrawsByCardNumber = response.NewGrpcError("withdraw", "Failed to fetch monthly withdraw amounts by card number", int(codes.Internal))
	ErrGrpcFailedFindYearlyWithdrawsByCardNumber  = response.NewGrpcError("withdraw", "Failed to fetch yearly withdraw amounts by card number", int(codes.Internal))

	ErrGrpcFailedCreateWithdraw          = response.NewGrpcError("withdraw", "Failed to create withdraw", int(codes.Internal))
	ErrGrpcFailedUpdateWithdraw          = response.NewGrpcError("withdraw", "Failed to update withdraw", int(codes.Internal))
	ErrGrpcValidateCreateWithdrawRequest = response.NewGrpcError("withdraw", "Invalid input for create withdraw", int(codes.InvalidArgument))
	ErrGrpcValidateUpdateWithdrawRequest = response.NewGrpcError("withdraw", "Invalid input for update withdraw", int(codes.InvalidArgument))

	ErrGrpcFailedTrashedWithdraw         = response.NewGrpcError("withdraw", "Failed to move withdraw to trash", int(codes.Internal))
	ErrGrpcFailedRestoreWithdraw         = response.NewGrpcError("withdraw", "Failed to restore withdraw", int(codes.Internal))
	ErrGrpcFailedDeleteWithdrawPermanent = response.NewGrpcError("withdraw", "Failed to permanently delete withdraw", int(codes.Internal))

	ErrGrpcFailedRestoreAllWithdraw         = response.NewGrpcError("withdraw", "Failed to restore all withdraws", int(codes.Internal))
	ErrGrpcFailedDeleteAllWithdrawPermanent = response.NewGrpcError("withdraw", "Failed to permanently delete all withdraws", int(codes.Internal))
)
View Source
var ErrApiBindCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid create withdraw request", http.StatusBadRequest)
}

ErrApiBindCreateWithdraw is an error response for bind failed: invalid create withdraw request.

View Source
var ErrApiBindUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "bind failed: invalid update withdraw request", http.StatusBadRequest)
}

ErrApiBindUpdateWithdraw is an error response for bind failed: invalid update withdraw request.

View Source
var ErrApiFailedCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to create withdraw", http.StatusInternalServerError)
}

ErrApiFailedCreateWithdraw is an error response for failed to create withdraw.

View Source
var ErrApiFailedDeleteAllWithdrawPermanent = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to permanently delete all withdraws", http.StatusInternalServerError)
}

ErrApiFailedDeleteAllWithdrawPermanent is an error response for failed to permanently delete all withdraws.

View Source
var ErrApiFailedDeleteWithdrawPermanent = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to permanently delete withdraw", http.StatusInternalServerError)
}

ErrApiFailedDeleteWithdrawPermanent is an error response for failed to permanently delete withdraw.

View Source
var ErrApiFailedFindAllWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch all withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindAllWithdraw is an error response for failed to fetch all withdraws.

View Source
var ErrApiFailedFindAllWithdrawByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws by card number", http.StatusInternalServerError)
}

ErrApiFailedFindAllWithdrawByCardNumber is an error response for failed to fetch withdraws by card number.

View Source
var ErrApiFailedFindByActiveWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch active withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindByActiveWithdraw is an error response for failed to fetch active withdraws.

View Source
var ErrApiFailedFindByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraws using card number", http.StatusInternalServerError)
}

ErrApiFailedFindByCardNumber is an error response for failed to fetch withdraws using card number.

View Source
var ErrApiFailedFindByIdWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch withdraw by ID", http.StatusInternalServerError)
}

ErrApiFailedFindByIdWithdraw is an error response for failed to fetch withdraw by ID.

View Source
var ErrApiFailedFindByTrashedWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch trashed withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindByTrashedWithdraw is an error response for failed to fetch trashed withdraws.

View Source
var ErrApiFailedFindMonthlyWithdrawStatusFailed = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdrawStatusFailed is an error response for failed to fetch monthly failed withdraws.

View Source
var ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly failed withdraws by card number", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdrawStatusFailedCardNumber is an error response for failed to fetch monthly failed withdraws by card number.

View Source
var ErrApiFailedFindMonthlyWithdrawStatusSuccess = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdrawStatusSuccess is an error response for failed to fetch monthly successful withdraws.

View Source
var ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly successful withdraws by card number", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch monthly successful withdraws by card number.

View Source
var ErrApiFailedFindMonthlyWithdraws = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdraws is an error response for failed to fetch monthly withdraw amounts.

View Source
var ErrApiFailedFindMonthlyWithdrawsByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch monthly withdraw amounts by card number", http.StatusInternalServerError)
}

ErrApiFailedFindMonthlyWithdrawsByCardNumber is an error response for failed to fetch monthly withdraw amounts by card number.

View Source
var ErrApiFailedFindYearlyWithdrawStatusFailed = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdrawStatusFailed is an error response for failed to fetch yearly failed withdraws.

View Source
var ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly failed withdraws by card number", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdrawStatusFailedCardNumber is an error response for failed to fetch yearly failed withdraws by card number.

View Source
var ErrApiFailedFindYearlyWithdrawStatusSuccess = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdrawStatusSuccess is an error response for failed to fetch yearly successful withdraws.

View Source
var ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly successful withdraws by card number", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdrawStatusSuccessCardNumber is an error response for failed to fetch yearly successful withdraws by card number.

View Source
var ErrApiFailedFindYearlyWithdraws = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdraws is an error response for failed to fetch yearly withdraw amounts.

View Source
var ErrApiFailedFindYearlyWithdrawsByCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to fetch yearly withdraw amounts by card number", http.StatusInternalServerError)
}

ErrApiFailedFindYearlyWithdrawsByCardNumber is an error response for failed to fetch yearly withdraw amounts by card number.

View Source
var ErrApiFailedRestoreAllWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to restore all withdraws", http.StatusInternalServerError)
}

ErrApiFailedRestoreAllWithdraw is an error response for failed to restore all withdraws.

View Source
var ErrApiFailedRestoreWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to restore withdraw", http.StatusInternalServerError)
}

ErrApiFailedRestoreWithdraw is an error response for failed to restore withdraw.

View Source
var ErrApiFailedTrashedWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to move withdraw to trash", http.StatusInternalServerError)
}

ErrApiFailedTrashedWithdraw is an error response for failed to move withdraw to trash.

View Source
var ErrApiFailedUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Failed to update withdraw", http.StatusInternalServerError)
}

ErrApiFailedUpdateWithdraw is an error response for failed to update withdraw.

View Source
var ErrApiInvalidCardNumber = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid card number", http.StatusBadRequest)
}

ErrApiInvalidCardNumber is an error response for invalid card number.

View Source
var ErrApiInvalidMonth = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid month", http.StatusBadRequest)
}

ErrApiInvalidMonth is an error response for invalid month.

View Source
var ErrApiInvalidYear = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "year", "Invalid year", http.StatusBadRequest)
}

ErrApiInvalidYear is an error response for invalid year.

View Source
var ErrApiValidateCreateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid create withdraw request", http.StatusBadRequest)
}

ErrApiValidateCreateWithdraw is an error response for validation failed: invalid create withdraw request.

View Source
var ErrApiValidateUpdateWithdraw = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "validation failed: invalid update withdraw request", http.StatusBadRequest)
}

ErrApiValidateUpdateWithdraw is an error response for validation failed: invalid update withdraw request.

View Source
var ErrApiWithdrawInvalidID = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid Withdraw ID", http.StatusBadRequest)
}

ErrApiWithdrawInvalidID is an error response for invalid withdraw ID.

View Source
var ErrApiWithdrawInvalidUserID = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Invalid Withdraw Merchant ID", http.StatusBadRequest)
}

ErrApiWithdrawInvalidUserID is an error response for invalid withdraw merchant ID.

View Source
var ErrApiWithdrawNotFound = func(c echo.Context) error {
	return response.NewApiErrorResponse(c, "error", "Withdraw not found", http.StatusNotFound)
}

ErrApiWithdrawNotFound is an error response for withdraw not found.

View Source
var ErrCreateWithdrawFailed = errors.New("failed to create withdraw")

ErrCreateWithdrawFailed indicates a failure when creating a new withdraw record.

View Source
var ErrDeleteAllWithdrawsPermanentFailed = errors.New("failed to permanently delete all withdraws")

ErrDeleteAllWithdrawsPermanentFailed indicates a failure when permanently deleting all withdraw records.

View Source
var ErrDeleteWithdrawPermanentFailed = errors.New("failed to permanently delete withdraw")

ErrDeleteWithdrawPermanentFailed indicates a failure when permanently deleting a withdraw record.

View Source
var ErrFailedCreateWithdraw = response.NewErrorResponse("Failed to create withdraw", http.StatusInternalServerError)

ErrFailedCreateWithdraw is used when failed to create withdraw

View Source
var ErrFailedDeleteAllWithdrawPermanent = response.NewErrorResponse("Failed to permanently delete all withdraws", http.StatusInternalServerError)

ErrFailedDeleteAllWithdrawPermanent is used when failed to permanently delete all withdraws

View Source
var ErrFailedDeleteWithdrawPermanent = response.NewErrorResponse("Failed to permanently delete withdraw", http.StatusInternalServerError)

ErrFailedDeleteWithdrawPermanent is used when failed to permanently delete withdraw

View Source
var ErrFailedFindActiveWithdraws = response.NewErrorResponse("Failed to fetch active withdraws", http.StatusInternalServerError)

ErrFailedFindActiveWithdraws is used when failed to fetch active withdraws

View Source
var ErrFailedFindAllWithdraws = response.NewErrorResponse("Failed to fetch all withdraws", http.StatusInternalServerError)

ErrFailedFindAllWithdraws is used when failed to fetch all withdraws

View Source
var ErrFailedFindAllWithdrawsByCard = response.NewErrorResponse("Failed to fetch all withdraws by card number", http.StatusInternalServerError)

ErrFailedFindAllWithdrawsByCard is used when failed to fetch all withdraws by card number

View Source
var ErrFailedFindMonthWithdrawStatusFailed = response.NewErrorResponse("Failed to fetch monthly failed withdraws", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusFailed is used when failed to fetch monthly failed withdraws

View Source
var ErrFailedFindMonthWithdrawStatusFailedByCard = response.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 = response.NewErrorResponse("Failed to fetch monthly successful withdraws", http.StatusInternalServerError)

ErrFailedFindMonthWithdrawStatusSuccess is used when failed to fetch monthly successful withdraws

View Source
var ErrFailedFindMonthWithdrawStatusSuccessByCard = response.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 = response.NewErrorResponse("Failed to fetch monthly withdraw amounts", http.StatusInternalServerError)

ErrFailedFindMonthlyWithdraws is used when failed to fetch monthly withdraw amounts

View Source
var ErrFailedFindMonthlyWithdrawsByCardNumber = response.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 ErrFailedFindTrashedWithdraws = response.NewErrorResponse("Failed to fetch trashed withdraws", http.StatusInternalServerError)

ErrFailedFindTrashedWithdraws is used when failed to fetch trashed withdraws

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

ErrFailedFindYearWithdrawStatusFailed is used when failed to fetch yearly failed withdraws

View Source
var ErrFailedFindYearWithdrawStatusFailedByCard = response.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 = response.NewErrorResponse("Failed to fetch yearly successful withdraws", http.StatusInternalServerError)

ErrFailedFindYearWithdrawStatusSuccess is used when failed to fetch yearly successful withdraws

View Source
var ErrFailedFindYearWithdrawStatusSuccessByCard = response.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 = response.NewErrorResponse("Failed to fetch yearly withdraw amounts", http.StatusInternalServerError)

ErrFailedFindYearlyWithdraws is used when failed to fetch yearly withdraw amounts

View Source
var ErrFailedFindYearlyWithdrawsByCardNumber = response.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 ErrFailedRestoreAllWithdraw = response.NewErrorResponse("Failed to restore all withdraws", http.StatusInternalServerError)

ErrFailedRestoreAllWithdraw is used when failed to restore all withdraws

View Source
var ErrFailedRestoreWithdraw = response.NewErrorResponse("Failed to restore withdraw", http.StatusInternalServerError)

ErrFailedRestoreWithdraw is used when failed to restore withdraw

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

ErrFailedSendEmail is used when failed to send email

View Source
var ErrFailedTrashedWithdraw = response.NewErrorResponse("Failed to trash withdraw", http.StatusInternalServerError)

ErrFailedTrashedWithdraw is used when failed to trash withdraw

View Source
var ErrFailedUpdateWithdraw = response.NewErrorResponse("Failed to update withdraw", http.StatusInternalServerError)

ErrFailedUpdateWithdraw is used when failed to update withdraw

View Source
var ErrFindActiveWithdrawsFailed = errors.New("failed to find active withdraws")

ErrFindActiveWithdrawsFailed is used when the system fails to find active withdraws

View Source
var ErrFindAllWithdrawsFailed = errors.New("failed to find all withdraws")

ErrFindAllWithdrawsFailed is used when the system fails to find all withdraws

View Source
var ErrFindTrashedWithdrawsFailed = errors.New("failed to find trashed withdraws")

ErrFindTrashedWithdrawsFailed is used when the system fails to find trashed withdraws

View Source
var ErrFindWithdrawByIdFailed = errors.New("failed to find withdraw by ID")

ErrFindWithdrawByIdFailed is used when the system fails to find a withdraw by ID

View Source
var ErrFindWithdrawsByCardNumberFailed = errors.New("failed to find withdraws by card number")

ErrFindWithdrawsByCardNumberFailed is used when the system fails to find withdraws by card number

View Source
var ErrGetMonthWithdrawStatusFailedByCardFailed = errors.New("failed to get monthly withdraw status failed by card number")

ErrGetMonthWithdrawStatusFailedByCardFailed is used when the system fails to get the monthly withdraw status failed by card number

View Source
var ErrGetMonthWithdrawStatusFailedFailed = errors.New("failed to get monthly withdraw status failed")

ErrGetMonthWithdrawStatusFailedFailed is used when the system fails to get the monthly withdraw status failed

View Source
var ErrGetMonthWithdrawStatusSuccessByCardFailed = errors.New("failed to get monthly withdraw status success by card number")

ErrGetMonthWithdrawStatusSuccessByCardFailed is used when the system fails to get the monthly withdraw status success by card number

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

ErrGetMonthWithdrawStatusSuccessFailed is used when the system fails to get the monthly withdraw status success

View Source
var ErrGetMonthlyWithdrawsByCardFailed = errors.New("failed to get monthly withdraw amounts by card number")

ErrGetMonthlyWithdrawsByCardFailed indicates a failure when retrieving monthly withdraw amounts by card number.

View Source
var ErrGetMonthlyWithdrawsFailed = errors.New("failed to get monthly withdraw amounts")

ErrGetMonthlyWithdrawsFailed is used when the system fails to get monthly withdraw amounts

View Source
var ErrGetYearlyWithdrawStatusFailedByCardFailed = errors.New("failed to get yearly withdraw status failed by card number")

ErrGetYearlyWithdrawStatusFailedByCardFailed is used when the system fails to get the yearly withdraw status failed by card number

View Source
var ErrGetYearlyWithdrawStatusFailedFailed = errors.New("failed to get yearly withdraw status failed")

ErrGetYearlyWithdrawStatusFailedFailed is used when the system fails to get the yearly withdraw status failed

View Source
var ErrGetYearlyWithdrawStatusSuccessByCardFailed = errors.New("failed to get yearly withdraw status success by card number")

ErrGetYearlyWithdrawStatusSuccessByCardFailed is used when the system fails to get the yearly withdraw status success by card number

View Source
var ErrGetYearlyWithdrawStatusSuccessFailed = errors.New("failed to get yearly withdraw status success")

ErrGetYearlyWithdrawStatusSuccessFailed is used when the system fails to get the yearly withdraw status success

View Source
var ErrGetYearlyWithdrawsByCardFailed = errors.New("failed to get yearly withdraw amounts by card number")

ErrGetYearlyWithdrawsByCardFailed indicates a failure when retrieving yearly withdraw amounts by card number.

View Source
var ErrGetYearlyWithdrawsFailed = errors.New("failed to get yearly withdraw amounts")

ErrGetYearlyWithdrawsFailed is used when the system fails to get yearly withdraw amounts

View Source
var ErrRestoreAllWithdrawsFailed = errors.New("failed to restore all withdraws")

ErrRestoreAllWithdrawsFailed indicates a failure when restoring all trashed withdraw records.

View Source
var ErrRestoreWithdrawFailed = errors.New("failed to restore withdraw")

ErrRestoreWithdrawFailed indicates a failure when restoring a previously trashed withdraw record.

View Source
var ErrTrashedWithdrawFailed = errors.New("failed to soft-delete (trash) withdraw")

ErrTrashedWithdrawFailed indicates a failure when soft-deleting (trashing) a withdraw record.

View Source
var ErrUpdateWithdrawFailed = errors.New("failed to update withdraw")

ErrUpdateWithdrawFailed indicates a failure when updating a withdraw record.

View Source
var ErrUpdateWithdrawStatusFailed = errors.New("failed to update withdraw status")

ErrUpdateWithdrawStatusFailed indicates a failure when updating the status of a withdraw record.

View Source
var ErrWithdrawNotFound = response.NewErrorResponse("Withdraw not found", http.StatusNotFound)

ErrWithdrawNotFound is used when withdraw is not found

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