cardserviceerrors

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCardNotFoundRes = response.NewErrorResponse("Card not found", http.StatusNotFound)

ErrCardNotFoundRes is an error response when a requested card was not found. Its HTTP status code is 404.

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

ErrFailedCreateCard is returned when creating a new Card record fails. Its HTTP status code is 500.

View Source
var ErrFailedDashboardCard = response.NewErrorResponse("Failed to get Card dashboard", http.StatusInternalServerError)

ErrFailedDashboardCard is an error response when retrieving card dashboard fails. Its HTTP status code is 500.

View Source
var ErrFailedDashboardCardNumber = response.NewErrorResponse("Failed to get Card dashboard by card number", http.StatusInternalServerError)

ErrFailedDashboardCardNumber is an error response when retrieving card dashboard by card number fails. Its HTTP status code is 500.

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

ErrFailedDeleteAllCards is returned when permanently deleting all Cards fails. Its HTTP status code is 500.

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

ErrFailedDeleteCard is returned when permanently deleting a Card fails. Its HTTP status code is 500.

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

ErrFailedFindActiveCards is an error response when retrieving active card records fails. Its HTTP status code is 500.

View Source
var ErrFailedFindAllCards = response.NewErrorResponse("Failed to fetch Cards", http.StatusInternalServerError)

ErrFailedFindAllCards is an error response when retrieving all card records fails. Its HTTP status code is 500.

View Source
var ErrFailedFindByCardNumber = response.NewErrorResponse("Failed to find Card by Card Number", http.StatusInternalServerError)

ErrFailedFindByCardNumber is an error response when finding a card by its card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindById = response.NewErrorResponse("Failed to find Card by ID", http.StatusInternalServerError)

ErrFailedFindById is an error response when finding a card by its ID fails. Its HTTP status code is 500.

View Source
var ErrFailedFindByUserID = response.NewErrorResponse("Failed to find Card by User ID", http.StatusInternalServerError)

ErrFailedFindByUserID is an error response when finding a card by its user ID fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyBalance = response.NewErrorResponse("Failed to get monthly balance", http.StatusInternalServerError)

ErrFailedFindMonthlyBalance indicates a failure in retrieving the monthly balance.

View Source
var ErrFailedFindMonthlyBalanceByCard = response.NewErrorResponse("Failed to get monthly balance by card", http.StatusInternalServerError)

ErrFailedFindMonthlyBalanceByCard returns an error response when retrieving monthly balance by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyTopupAmount = response.NewErrorResponse("Failed to get monthly topup amount", http.StatusInternalServerError)

ErrFailedFindMonthlyTopupAmount indicates a failure in retrieving the monthly top-up amount.

View Source
var ErrFailedFindMonthlyTopupAmountByCard = response.NewErrorResponse("Failed to get monthly topup amount by card", http.StatusInternalServerError)

ErrFailedFindMonthlyTopupAmountByCard returns an error response when retrieving monthly top-up amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyTransactionAmount = response.NewErrorResponse("Failed to get monthly transaction amount", http.StatusInternalServerError)

ErrFailedFindMonthlyTransactionAmount indicates a failure in retrieving the monthly transaction amount.

View Source
var ErrFailedFindMonthlyTransactionAmountByCard = response.NewErrorResponse("Failed to get monthly transaction amount by card", http.StatusInternalServerError)

ErrFailedFindMonthlyTransactionAmountByCard returns an error response when retrieving monthly transaction amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyTransferAmountByReceiver = response.NewErrorResponse("Failed to get monthly transfer amount by receiver", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountByReceiver returns an error response when retrieving monthly transfer amount by receiver card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyTransferAmountBySender = response.NewErrorResponse("Failed to get monthly transfer amount by sender", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountBySender returns an error response when retrieving monthly transfer amount by sender card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindMonthlyTransferAmountReceiver = response.NewErrorResponse("Failed to get monthly transfer amount by receiver", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountReceiver indicates a failure in retrieving the monthly transfer amount by receiver.

View Source
var ErrFailedFindMonthlyTransferAmountSender = response.NewErrorResponse("Failed to get monthly transfer amount by sender", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountSender indicates a failure in retrieving the monthly transfer amount by sender.

View Source
var ErrFailedFindMonthlyWithdrawAmount = response.NewErrorResponse("Failed to get monthly withdraw amount", http.StatusInternalServerError)

ErrFailedFindMonthlyWithdrawAmount indicates a failure in retrieving the monthly withdraw amount.

View Source
var ErrFailedFindMonthlyWithdrawAmountByCard = response.NewErrorResponse("Failed to get monthly withdraw amount by card", http.StatusInternalServerError)

ErrFailedFindMonthlyWithdrawAmountByCard returns an error response when retrieving monthly withdraw amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalBalanceByCard = response.NewErrorResponse("Failed to Find total balance by card", http.StatusInternalServerError)

ErrFailedFindTotalBalanceByCard is an error response when retrieving total balance by card fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalBalances = response.NewErrorResponse("Failed to Find total balances", http.StatusInternalServerError)

ErrFailedFindTotalBalances is an error response when retrieving total balances fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTopAmount = response.NewErrorResponse("Failed to Find total topup amount", http.StatusInternalServerError)

ErrFailedFindTotalTopAmount is an error response when retrieving total topup amount fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTopupAmountByCard = response.NewErrorResponse("Failed to Find total topup amount by card", http.StatusInternalServerError)

ErrFailedFindTotalTopupAmountByCard is an error response when retrieving total topup amount by card fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTransactionAmount = response.NewErrorResponse("Failed to Find total transaction amount", http.StatusInternalServerError)

ErrFailedFindTotalTransactionAmount is an error response when retrieving total transaction amount fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTransactionAmountByCard = response.NewErrorResponse("Failed to Find total transaction amount by card", http.StatusInternalServerError)

ErrFailedFindTotalTransactionAmountByCard is an error response when retrieving total transaction amount by card fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTransferAmount = response.NewErrorResponse("Failed to Find total transfer amount", http.StatusInternalServerError)

ErrFailedFindTotalTransferAmount is an error response when retrieving total transfer amount fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTransferAmountByReceiver = response.NewErrorResponse("Failed to Find total transfer amount by receiver", http.StatusInternalServerError)

ErrFailedFindTotalTransferAmountByReceiver is an error response when retrieving total transfer amount by receiver fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalTransferAmountBySender = response.NewErrorResponse("Failed to Find total transfer amount by sender", http.StatusInternalServerError)

ErrFailedFindTotalTransferAmountBySender is an error response when retrieving total transfer amount by sender fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalWithdrawAmount = response.NewErrorResponse("Failed to Find total withdraw amount", http.StatusInternalServerError)

ErrFailedFindTotalWithdrawAmount is an error response when retrieving total withdraw amount fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTotalWithdrawAmountByCard = response.NewErrorResponse("Failed to Find total withdraw amount by card", http.StatusInternalServerError)

ErrFailedFindTotalWithdrawAmountByCard is an error response when retrieving total withdraw amount by card fails. Its HTTP status code is 500.

View Source
var ErrFailedFindTrashedCards = response.NewErrorResponse("Failed to fetch trashed Cards", http.StatusInternalServerError)

ErrFailedFindTrashedCards is an error response when retrieving trashed card records fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyBalance = response.NewErrorResponse("Failed to get yearly balance", http.StatusInternalServerError)

ErrFailedFindYearlyBalance indicates a failure in retrieving the yearly balance.

View Source
var ErrFailedFindYearlyBalanceByCard = response.NewErrorResponse("Failed to get yearly balance by card", http.StatusInternalServerError)

ErrFailedFindYearlyBalanceByCard returns an error response when retrieving yearly balance by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyTopupAmount = response.NewErrorResponse("Failed to get yearly topup amount", http.StatusInternalServerError)

ErrFailedFindYearlyTopupAmount indicates a failure in retrieving the yearly top-up amount.

View Source
var ErrFailedFindYearlyTopupAmountByCard = response.NewErrorResponse("Failed to get yearly topup amount by card", http.StatusInternalServerError)

ErrFailedFindYearlyTopupAmountByCard returns an error response when retrieving yearly top-up amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyTransactionAmount = response.NewErrorResponse("Failed to get yearly transaction amount", http.StatusInternalServerError)

ErrFailedFindYearlyTransactionAmount indicates a failure in retrieving the yearly transaction amount.

View Source
var ErrFailedFindYearlyTransactionAmountByCard = response.NewErrorResponse("Failed to get yearly transaction amount by card", http.StatusInternalServerError)

ErrFailedFindYearlyTransactionAmountByCard returns an error response when retrieving yearly transaction amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyTransferAmountByReceiver = response.NewErrorResponse("Failed to get yearly transfer amount by receiver", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountByReceiver returns an error response when retrieving yearly transfer amount by receiver card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyTransferAmountBySender = response.NewErrorResponse("Failed to get yearly transfer amount by sender", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountBySender returns an error response when retrieving yearly transfer amount by sender card number fails. Its HTTP status code is 500.

View Source
var ErrFailedFindYearlyTransferAmountReceiver = response.NewErrorResponse("Failed to get yearly transfer amount by receiver", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountReceiver indicates a failure in retrieving the yearly transfer amount by receiver.

View Source
var ErrFailedFindYearlyTransferAmountSender = response.NewErrorResponse("Failed to get yearly transfer amount by sender", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountSender indicates a failure in retrieving the yearly transfer amount by sender.

View Source
var ErrFailedFindYearlyWithdrawAmount = response.NewErrorResponse("Failed to get yearly withdraw amount", http.StatusInternalServerError)

ErrFailedFindYearlyWithdrawAmount indicates a failure in retrieving the yearly withdraw amount.

View Source
var ErrFailedFindYearlyWithdrawAmountByCard = response.NewErrorResponse("Failed to get yearly withdraw amount by card", http.StatusInternalServerError)

ErrFailedFindYearlyWithdrawAmountByCard returns an error response when retrieving yearly withdraw amount by card number fails. Its HTTP status code is 500.

View Source
var ErrFailedRestoreAllCards = response.NewErrorResponse("Failed to restore all Cards", http.StatusInternalServerError)

ErrFailedRestoreAllCards is returned when restoring all trashed Cards fails. Its HTTP status code is 500.

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

ErrFailedRestoreCard is returned when restoring a trashed Card fails. Its HTTP status code is 500.

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

ErrFailedTrashCard is returned when moving a Card to trash fails. Its HTTP status code is 500.

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

ErrFailedUpdateCard is returned when updating an existing Card record fails. Its HTTP status code is 500.

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