Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFailedFindMonthlyTopupAmount indicates a failure in retrieving the monthly top-up amount. ErrFailedFindMonthlyTopupAmount = errors.ErrInternal.WithMessage("Failed to get monthly topup amount") // ErrFailedFindYearlyTopupAmount indicates a failure in retrieving the yearly top-up amount. ErrFailedFindYearlyTopupAmount = errors.ErrInternal.WithMessage("Failed to get yearly topup amount") // ErrFailedFindMonthlyWithdrawAmount indicates a failure in retrieving the monthly withdraw amount. ErrFailedFindMonthlyWithdrawAmount = errors.ErrInternal.WithMessage("Failed to get monthly withdraw amount") // ErrFailedFindYearlyWithdrawAmount indicates a failure in retrieving the yearly withdraw amount. ErrFailedFindYearlyWithdrawAmount = errors.ErrInternal.WithMessage("Failed to get yearly withdraw amount") // ErrFailedFindMonthlyTransactionAmount indicates a failure in retrieving the monthly transaction amount. ErrFailedFindMonthlyTransactionAmount = errors.ErrInternal.WithMessage("Failed to get monthly transaction amount") // ErrFailedFindYearlyTransactionAmount indicates a failure in retrieving the yearly transaction amount. ErrFailedFindYearlyTransactionAmount = errors.ErrInternal.WithMessage("Failed to get yearly transaction amount") // ErrFailedFindMonthlyTransferAmountSender indicates a failure in retrieving the monthly transfer amount by sender. ErrFailedFindMonthlyTransferAmountSender = errors.ErrInternal.WithMessage("Failed to get monthly transfer amount by sender") // ErrFailedFindYearlyTransferAmountSender indicates a failure in retrieving the yearly transfer amount by sender. ErrFailedFindYearlyTransferAmountSender = errors.ErrInternal.WithMessage("Failed to get yearly transfer amount by sender") // ErrFailedFindMonthlyTransferAmountReceiver indicates a failure in retrieving the monthly transfer amount by receiver. ErrFailedFindMonthlyTransferAmountReceiver = errors.ErrInternal.WithMessage("Failed to get monthly transfer amount by receiver") // ErrFailedFindYearlyTransferAmountReceiver indicates a failure in retrieving the yearly transfer amount by receiver. ErrFailedFindYearlyTransferAmountReceiver = errors.ErrInternal.WithMessage("Failed to get yearly transfer amount by receiver") )
View Source
var ( // ErrFailedFindMonthlyTopupAmountByCard returns an error response when retrieving monthly top-up amount by card number fails. ErrFailedFindMonthlyTopupAmountByCard = errors.ErrInternal.WithMessage("Failed to get monthly topup amount by card") // ErrFailedFindYearlyTopupAmountByCard returns an error response when retrieving yearly top-up amount by card number fails. ErrFailedFindYearlyTopupAmountByCard = errors.ErrInternal.WithMessage("Failed to get yearly topup amount by card") // ErrFailedFindMonthlyWithdrawAmountByCard returns an error response when retrieving monthly withdraw amount by card number fails. ErrFailedFindMonthlyWithdrawAmountByCard = errors.ErrInternal.WithMessage("Failed to get monthly withdraw amount by card") // ErrFailedFindYearlyWithdrawAmountByCard returns an error response when retrieving yearly withdraw amount by card number fails. ErrFailedFindYearlyWithdrawAmountByCard = errors.ErrInternal.WithMessage("Failed to get yearly withdraw amount by card") // ErrFailedFindMonthlyTransactionAmountByCard returns an error response when retrieving monthly transaction amount by card number fails. ErrFailedFindMonthlyTransactionAmountByCard = errors.ErrInternal.WithMessage("Failed to get monthly transaction amount by card") // ErrFailedFindYearlyTransactionAmountByCard returns an error response when retrieving yearly transaction amount by card number fails. ErrFailedFindYearlyTransactionAmountByCard = errors.ErrInternal.WithMessage("Failed to get yearly transaction amount by card") // ErrFailedFindMonthlyTransferAmountBySender returns an error response when retrieving monthly transfer amount by sender card number fails. ErrFailedFindMonthlyTransferAmountBySender = errors.ErrInternal.WithMessage("Failed to get monthly transfer amount by sender") // ErrFailedFindYearlyTransferAmountBySender returns an error response when retrieving yearly transfer amount by sender card number fails. ErrFailedFindYearlyTransferAmountBySender = errors.ErrInternal.WithMessage("Failed to get yearly transfer amount by sender") // ErrFailedFindMonthlyTransferAmountByReceiver returns an error response when retrieving monthly transfer amount by receiver card number fails. ErrFailedFindMonthlyTransferAmountByReceiver = errors.ErrInternal.WithMessage("Failed to get monthly transfer amount by receiver") // ErrFailedFindYearlyTransferAmountByReceiver returns an error response when retrieving yearly transfer amount by receiver card number fails. ErrFailedFindYearlyTransferAmountByReceiver = errors.ErrInternal.WithMessage("Failed to get yearly transfer amount by receiver") )
View Source
var ( // ErrFailedFindMonthlyBalance indicates a failure in retrieving the monthly balance. ErrFailedFindMonthlyBalance = errors.ErrInternal.WithMessage("Failed to get monthly balance") // ErrFailedFindYearlyBalance indicates a failure in retrieving the yearly balance. ErrFailedFindYearlyBalance = errors.ErrInternal.WithMessage("Failed to get yearly balance") // ErrFailedFindMonthlyBalanceByCard returns an error response when retrieving monthly balance by card number fails. ErrFailedFindMonthlyBalanceByCard = errors.ErrInternal.WithMessage("Failed to get monthly balance by card") // ErrFailedFindYearlyBalanceByCard returns an error response when retrieving yearly balance by card number fails. ErrFailedFindYearlyBalanceByCard = errors.ErrInternal.WithMessage("Failed to get yearly balance by card") )
View Source
var ( // ErrFailedCreateCard is returned when creating a new Card record fails. ErrFailedCreateCard = errors.ErrInternal.WithMessage("Failed to create card") // ErrFailedUpdateCard is returned when updating an existing Card record fails. ErrFailedUpdateCard = errors.ErrInternal.WithMessage("Failed to update card") // ErrFailedTrashCard is returned when moving a Card to trash fails. ErrFailedTrashCard = errors.ErrInternal.WithMessage("Failed to move card to trash") // ErrFailedRestoreCard is returned when restoring a trashed Card fails. ErrFailedRestoreCard = errors.ErrInternal.WithMessage("Failed to restore card") // ErrFailedDeleteCard is returned when permanently deleting a Card fails. ErrFailedDeleteCard = errors.ErrInternal.WithMessage("Failed to delete card permanently") // ErrFailedRestoreAllCards is returned when restoring all trashed Cards fails. ErrFailedRestoreAllCards = errors.ErrInternal.WithMessage("Failed to restore all cards") // ErrFailedDeleteAllCards is returned when permanently deleting all Cards fails. ErrFailedDeleteAllCards = errors.ErrInternal.WithMessage("Failed to delete all cards permanently") )
View Source
var ( // ErrFailedDashboardCard is an error response when retrieving card dashboard fails. ErrFailedDashboardCard = errors.ErrInternal.WithMessage("Failed to get card dashboard") // ErrFailedDashboardCardNumber is an error response when retrieving card dashboard by card number fails. ErrFailedDashboardCardNumber = errors.ErrInternal.WithMessage("Failed to get card dashboard by card number") )
View Source
var ( // ErrCardNotFoundRes is an error response when a requested card was not found. ErrCardNotFoundRes = errors.ErrNotFound.WithMessage("Card not found") // ErrFailedFindAllCards is an error response when retrieving all card records fails. ErrFailedFindAllCards = errors.ErrInternal.WithMessage("Failed to fetch cards") // ErrFailedFindActiveCards is an error response when retrieving active card records fails. ErrFailedFindActiveCards = errors.ErrInternal.WithMessage("Failed to fetch active cards") // ErrFailedFindTrashedCards is an error response when retrieving trashed card records fails. ErrFailedFindTrashedCards = errors.ErrInternal.WithMessage("Failed to fetch trashed cards") // ErrFailedFindById is an error response when finding a card by its ID fails. ErrFailedFindById = errors.ErrInternal.WithMessage("Failed to find card by ID") // ErrFailedFindByUserID is an error response when finding a card by its user ID fails. ErrFailedFindByUserID = errors.ErrInternal.WithMessage("Failed to find card by user ID") // ErrFailedFindByCardNumber is an error response when finding a card by its card number fails. ErrFailedFindByCardNumber = errors.ErrInternal.WithMessage("Failed to find card by card number") )
View Source
var ( // ErrFailedFindTotalBalances is an error response when retrieving total balances fails. ErrFailedFindTotalBalances = errors.ErrInternal.WithMessage("Failed to find total balances") // ErrFailedFindTotalTopAmount is an error response when retrieving total topup amount fails. ErrFailedFindTotalTopAmount = errors.ErrInternal.WithMessage("Failed to find total topup amount") // ErrFailedFindTotalWithdrawAmount is an error response when retrieving total withdraw amount fails. ErrFailedFindTotalWithdrawAmount = errors.ErrInternal.WithMessage("Failed to find total withdraw amount") // ErrFailedFindTotalTransactionAmount is an error response when retrieving total transaction amount fails. ErrFailedFindTotalTransactionAmount = errors.ErrInternal.WithMessage("Failed to find total transaction amount") // ErrFailedFindTotalTransferAmount is an error response when retrieving total transfer amount fails. ErrFailedFindTotalTransferAmount = errors.ErrInternal.WithMessage("Failed to find total transfer amount") // ErrFailedFindTotalBalanceByCard is an error response when retrieving total balance by card fails. ErrFailedFindTotalBalanceByCard = errors.ErrInternal.WithMessage("Failed to find total balance by card") // ErrFailedFindTotalTopupAmountByCard is an error response when retrieving total topup amount by card fails. ErrFailedFindTotalTopupAmountByCard = errors.ErrInternal.WithMessage("Failed to find total topup amount by card") // ErrFailedFindTotalWithdrawAmountByCard is an error response when retrieving total withdraw amount by card fails. ErrFailedFindTotalWithdrawAmountByCard = errors.ErrInternal.WithMessage("Failed to find total withdraw amount by card") // ErrFailedFindTotalTransactionAmountByCard is an error response when retrieving total transaction amount by card fails. ErrFailedFindTotalTransactionAmountByCard = errors.ErrInternal.WithMessage("Failed to find total transaction amount by card") // ErrFailedFindTotalTransferAmountBySender is an error response when retrieving total transfer amount by sender fails. ErrFailedFindTotalTransferAmountBySender = errors.ErrInternal.WithMessage("Failed to find total transfer amount by sender") // ErrFailedFindTotalTransferAmountByReceiver is an error response when retrieving total transfer amount by receiver fails. ErrFailedFindTotalTransferAmountByReceiver = errors.ErrInternal.WithMessage("Failed to find total transfer amount by receiver") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.