withdrawapierrors

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

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.

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