Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrFailedCreateTopup = errors.NewErrorResponse("Failed to create Topup", http.StatusInternalServerError)
ErrFailedCreateTopup indicates failure in creating a new top-up record.
var ErrFailedDeleteAllTopups = errors.NewErrorResponse("Failed to delete all Topups permanently", http.StatusInternalServerError)
ErrFailedDeleteAllTopups indicates failure in permanently deleting all trashed top-up records.
var ErrFailedDeleteTopup = errors.NewErrorResponse("Failed to delete Topup permanently", http.StatusInternalServerError)
ErrFailedDeleteTopup indicates failure in permanently deleting a top-up.
var ErrFailedFindActiveTopups = errors.NewErrorResponse("Failed to fetch active Topups", http.StatusInternalServerError)
ErrFailedFindActiveTopups indicates failure in retrieving active (non-trashed) top-up records.
var ErrFailedFindAllTopups = errors.NewErrorResponse("Failed to fetch Topups", http.StatusInternalServerError)
ErrFailedFindAllTopups indicates failure in retrieving all top-up records.
var ErrFailedFindAllTopupsByCardNumber = errors.NewErrorResponse("Failed to fetch Topups by card number", http.StatusInternalServerError)
ErrFailedFindAllTopupsByCardNumber indicates failure in retrieving top-ups by card number.
var ErrFailedFindMonthTopupStatusFailed = errors.NewErrorResponse("Failed to get monthly topup failed status", http.StatusInternalServerError)
ErrFailedFindMonthTopupStatusFailed indicates failure in retrieving monthly failed top-up status.
var ErrFailedFindMonthTopupStatusFailedByCard = errors.NewErrorResponse("Failed to get monthly topup failed status by card", http.StatusInternalServerError)
ErrFailedFindMonthTopupStatusFailedByCard indicates failure in retrieving monthly failed top-up status by card.
var ErrFailedFindMonthTopupStatusSuccess = errors.NewErrorResponse("Failed to get monthly topup success status", http.StatusInternalServerError)
ErrFailedFindMonthTopupStatusSuccess indicates failure in retrieving monthly successful top-up status.
var ErrFailedFindMonthTopupStatusSuccessByCard = errors.NewErrorResponse("Failed to get monthly topup success status by card", http.StatusInternalServerError)
ErrFailedFindMonthTopupStatusSuccessByCard indicates failure in retrieving monthly successful top-up status by card.
var ErrFailedFindMonthlyTopupAmounts = errors.NewErrorResponse("Failed to get monthly topup amounts", http.StatusInternalServerError)
ErrFailedFindMonthlyTopupAmounts indicates failure in retrieving monthly top-up amounts.
var ErrFailedFindMonthlyTopupAmountsByCard = errors.NewErrorResponse("Failed to get monthly topup amounts by card", http.StatusInternalServerError)
ErrFailedFindMonthlyTopupAmountsByCard indicates failure in retrieving monthly top-up amounts by card.
var ErrFailedFindMonthlyTopupMethods = errors.NewErrorResponse("Failed to get monthly topup methods", http.StatusInternalServerError)
ErrFailedFindMonthlyTopupMethods indicates failure in retrieving monthly top-up methods.
var ErrFailedFindMonthlyTopupMethodsByCard = errors.NewErrorResponse("Failed to get monthly topup methods by card", http.StatusInternalServerError)
ErrFailedFindMonthlyTopupMethodsByCard indicates failure in retrieving monthly top-up methods by card.
var ErrFailedFindTopupById = errors.NewErrorResponse("Failed to find Topup by ID", http.StatusInternalServerError)
ErrFailedFindTopupById indicates failure in finding a top-up by its ID.
var ErrFailedFindTrashedTopups = errors.NewErrorResponse("Failed to fetch trashed Topups", http.StatusInternalServerError)
ErrFailedFindTrashedTopups indicates failure in retrieving trashed (soft-deleted) top-up records.
var ErrFailedFindYearlyTopupAmounts = errors.NewErrorResponse("Failed to get yearly topup amounts", http.StatusInternalServerError)
ErrFailedFindYearlyTopupAmounts indicates failure in retrieving yearly top-up amounts.
var ErrFailedFindYearlyTopupAmountsByCard = errors.NewErrorResponse("Failed to get yearly topup amounts by card", http.StatusInternalServerError)
ErrFailedFindYearlyTopupAmountsByCard indicates failure in retrieving yearly top-up amounts by card.
var ErrFailedFindYearlyTopupMethods = errors.NewErrorResponse("Failed to get yearly topup methods", http.StatusInternalServerError)
ErrFailedFindYearlyTopupMethods indicates failure in retrieving yearly top-up methods.
var ErrFailedFindYearlyTopupMethodsByCard = errors.NewErrorResponse("Failed to get yearly topup methods by card", http.StatusInternalServerError)
ErrFailedFindYearlyTopupMethodsByCard indicates failure in retrieving yearly top-up methods by card.
var ErrFailedFindYearlyTopupStatusFailed = errors.NewErrorResponse("Failed to get yearly topup failed status", http.StatusInternalServerError)
ErrFailedFindYearlyTopupStatusFailed indicates failure in retrieving yearly failed top-up status.
var ErrFailedFindYearlyTopupStatusFailedByCard = errors.NewErrorResponse("Failed to get yearly topup failed status by card", http.StatusInternalServerError)
ErrFailedFindYearlyTopupStatusFailedByCard indicates failure in retrieving yearly failed top-up status by card.
var ErrFailedFindYearlyTopupStatusSuccess = errors.NewErrorResponse("Failed to get yearly topup success status", http.StatusInternalServerError)
ErrFailedFindYearlyTopupStatusSuccess indicates failure in retrieving yearly successful top-up status.
var ErrFailedFindYearlyTopupStatusSuccessByCard = errors.NewErrorResponse("Failed to get yearly topup success status by card", http.StatusInternalServerError)
ErrFailedFindYearlyTopupStatusSuccessByCard indicates failure in retrieving yearly successful top-up status by card.
var ErrFailedRestoreAllTopups = errors.NewErrorResponse("Failed to restore all Topups", http.StatusInternalServerError)
ErrFailedRestoreAllTopups indicates failure in restoring all trashed top-up records.
var ErrFailedRestoreTopup = errors.NewErrorResponse("Failed to restore Topup", http.StatusInternalServerError)
ErrFailedRestoreTopup indicates failure in restoring a previously trashed top-up.
var ErrFailedTrashTopup = errors.NewErrorResponse("Failed to trash Topup", http.StatusInternalServerError)
ErrFailedTrashTopup indicates failure in soft-deleting (trashing) a top-up.
var ErrFailedUpdateTopup = errors.NewErrorResponse("Failed to update Topup", http.StatusInternalServerError)
ErrFailedUpdateTopup indicates failure in updating an existing top-up record.
var ErrTopupNotFoundRes = errors.NewErrorResponse("Topup not found", http.StatusNotFound)
ErrTopupNotFoundRes indicates that a requested top-up was not found.
Functions ¶
This section is empty.
Types ¶
This section is empty.