cardrepositoryerrors

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 1 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 ErrCardAlreadyExists = errors.New("card already exists")

ErrCardAlreadyExists is returned when a card already exists.

View Source
var ErrCardNotFound = errors.New("card not found")

ErrCardNotFound is returned when a card is not found.

View Source
var ErrCreateCardFailed = errors.New("failed to create card")

ErrCreateCardFailed is returned when creating a new card fails.

View Source
var ErrDeleteAllCardsPermanentFailed = errors.New("failed to delete all cards permanently")

ErrDeleteAllCardsPermanentFailed is returned when permanently deleting all cards fails.

View Source
var ErrDeleteCardPermanentFailed = errors.New("failed to delete card permanently")

ErrDeleteCardPermanentFailed is returned when permanently deleting a card fails.

View Source
var ErrFindActiveCardsFailed = errors.New("failed to find active cards")

ErrFindActiveCardsFailed is returned when fetching active card records fails.

View Source
var ErrFindAllCardsFailed = errors.New("failed to find all cards")

ErrFindAllCardsFailed is returned when fetching all card records fails.

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

ErrFindCardByCardNumberFailed is returned when fetching a card by card number fails.

View Source
var ErrFindCardByIdFailed = errors.New("failed to find card by ID")

ErrFindCardByIdFailed is returned when fetching a card by its ID fails.

View Source
var ErrFindCardByUserIdFailed = errors.New("failed to find card by user ID")

ErrFindCardByUserIdFailed is returned when fetching a card by user ID fails.

View Source
var ErrFindTrashedCardsFailed = errors.New("failed to find trashed cards")

ErrFindTrashedCardsFailed is returned when fetching trashed card records fails.

View Source
var ErrFindUserCardByCardNumberFailed = errors.New("failed to find card by user id")
View Source
var ErrGetMonthlyBalanceByCardFailed = errors.New("failed to get monthly balance by card")

ErrGetMonthlyBalanceByCardFailed is returned when fetching monthly balances by card fails.

View Source
var ErrGetMonthlyBalanceFailed = errors.New("failed to get monthly balance")

ErrGetMonthlyBalanceFailed is returned when fetching monthly balances fails.

View Source
var ErrGetMonthlyTopupAmountByCardFailed = errors.New("failed to get monthly topup amount by card")

ErrGetMonthlyTopupAmountByCardFailed is returned when fetching monthly top-up amounts by card fails.

View Source
var ErrGetMonthlyTopupAmountFailed = errors.New("failed to get monthly topup amount")

ErrGetMonthlyTopupAmountFailed is returned when fetching monthly top-up amounts fails.

View Source
var ErrGetMonthlyTransactionAmountByCardFailed = errors.New("failed to get monthly transaction amount by card")

ErrGetMonthlyTransactionAmountByCardFailed is returned when fetching monthly transaction amounts by card fails.

View Source
var ErrGetMonthlyTransactionAmountFailed = errors.New("failed to get monthly transaction amount")

ErrGetMonthlyTransactionAmountFailed is returned when fetching monthly transaction amounts fails.

View Source
var ErrGetMonthlyTransferAmountByReceiverFailed = errors.New("failed to get monthly transfer amount by receiver")

ErrGetMonthlyTransferAmountByReceiverFailed is returned when fetching monthly transfer amount by receiver fails.

View Source
var ErrGetMonthlyTransferAmountBySenderFailed = errors.New("failed to get monthly transfer amount by sender")

ErrGetMonthlyTransferAmountBySenderFailed is returned when fetching monthly transfer amount by sender fails.

View Source
var ErrGetMonthlyTransferAmountReceiverFailed = errors.New("failed to get monthly transfer amount by receiver")

ErrGetMonthlyTransferAmountReceiverFailed is returned when fetching monthly transfer amounts by receiver fails.

View Source
var ErrGetMonthlyTransferAmountSenderFailed = errors.New("failed to get monthly transfer amount by sender")

ErrGetMonthlyTransferAmountSenderFailed is returned when fetching monthly transfer amounts by sender fails.

View Source
var ErrGetMonthlyWithdrawAmountByCardFailed = errors.New("failed to get monthly withdraw amount by card")

ErrGetMonthlyWithdrawAmountByCardFailed is returned when fetching monthly withdrawal amounts by card fails.

View Source
var ErrGetMonthlyWithdrawAmountFailed = errors.New("failed to get monthly withdraw amount")

ErrGetMonthlyWithdrawAmountFailed is returned when fetching monthly withdrawal amounts fails.

View Source
var ErrGetTotalBalanceByCardFailed = errors.New("failed to get total balance by card")

ErrGetTotalBalanceByCardFailed is returned when fetching the total balance by card fails.

View Source
var ErrGetTotalBalancesFailed = errors.New("failed to get total balances")

ErrGetTotalBalancesFailed is returned when fetching total balances fails.

View Source
var ErrGetTotalTopAmountFailed = errors.New("failed to get total topup amount")

ErrGetTotalTopAmountFailed is returned when fetching the total top-up amount fails.

View Source
var ErrGetTotalTopupAmountByCardFailed = errors.New("failed to get total topup amount by card")

ErrGetTotalTopupAmountByCardFailed is returned when fetching the total top-up amount by card fails.

View Source
var ErrGetTotalTransactionAmountByCardFailed = errors.New("failed to get total transaction amount by card")

ErrGetTotalTransactionAmountByCardFailed is returned when fetching the total transaction amount by card fails.

View Source
var ErrGetTotalTransactionAmountFailed = errors.New("failed to get total transaction amount")

ErrGetTotalTransactionAmountFailed is returned when fetching the total transaction amount fails.

View Source
var ErrGetTotalTransferAmountByReceiverFailed = errors.New("failed to get total transfer amount by receiver")

ErrGetTotalTransferAmountByReceiverFailed is returned when fetching the total transfer amount by receiver fails.

View Source
var ErrGetTotalTransferAmountBySenderFailed = errors.New("failed to get total transfer amount by sender")

ErrGetTotalTransferAmountBySenderFailed is returned when fetching the total transfer amount by sender fails.

View Source
var ErrGetTotalTransferAmountFailed = errors.New("failed to get total transfer amount")

ErrGetTotalTransferAmountFailed is returned when fetching the total transfer amount fails.

View Source
var ErrGetTotalWithdrawAmountByCardFailed = errors.New("failed to get total withdraw amount by card")

ErrGetTotalWithdrawAmountByCardFailed is returned when fetching the total withdrawal amount by card fails.

View Source
var ErrGetTotalWithdrawAmountFailed = errors.New("failed to get total withdraw amount")

ErrGetTotalWithdrawAmountFailed is returned when fetching the total withdrawal amount fails.

View Source
var ErrGetYearlyBalanceByCardFailed = errors.New("failed to get yearly balance by card")

ErrGetYearlyBalanceByCardFailed is returned when fetching yearly balances by card fails.

View Source
var ErrGetYearlyBalanceFailed = errors.New("failed to get yearly balance")

ErrGetYearlyBalanceFailed is returned when fetching yearly balances fails.

View Source
var ErrGetYearlyTopupAmountByCardFailed = errors.New("failed to get yearly topup amount by card")

ErrGetYearlyTopupAmountByCardFailed is returned when fetching yearly top-up amounts by card fails.

View Source
var ErrGetYearlyTopupAmountFailed = errors.New("failed to get yearly topup amount")

ErrGetYearlyTopupAmountFailed is returned when fetching yearly top-up amounts fails.

View Source
var ErrGetYearlyTransactionAmountByCardFailed = errors.New("failed to get yearly transaction amount by card")

ErrGetYearlyTransactionAmountByCardFailed is returned when fetching yearly transaction amounts by card fails.

View Source
var ErrGetYearlyTransactionAmountFailed = errors.New("failed to get yearly transaction amount")

ErrGetYearlyTransactionAmountFailed is returned when fetching yearly transaction amounts fails.

View Source
var ErrGetYearlyTransferAmountByReceiverFailed = errors.New("failed to get yearly transfer amount by receiver")

ErrGetYearlyTransferAmountByReceiverFailed is returned when fetching yearly transfer amount by receiver fails.

View Source
var ErrGetYearlyTransferAmountBySenderFailed = errors.New("failed to get yearly transfer amount by sender")

ErrGetYearlyTransferAmountBySenderFailed is returned when fetching yearly transfer amount by sender fails.

View Source
var ErrGetYearlyTransferAmountReceiverFailed = errors.New("failed to get yearly transfer amount by receiver")

ErrGetYearlyTransferAmountReceiverFailed is returned when fetching yearly transfer amounts by receiver fails.

View Source
var ErrGetYearlyTransferAmountSenderFailed = errors.New("failed to get yearly transfer amount by sender")

ErrGetYearlyTransferAmountSenderFailed is returned when fetching yearly transfer amounts by sender fails.

View Source
var ErrGetYearlyWithdrawAmountByCardFailed = errors.New("failed to get yearly withdraw amount by card")

ErrGetYearlyWithdrawAmountByCardFailed is returned when fetching yearly withdrawal amounts by card fails.

View Source
var ErrGetYearlyWithdrawAmountFailed = errors.New("failed to get yearly withdraw amount")

ErrGetYearlyWithdrawAmountFailed is returned when fetching yearly withdrawal amounts fails.

View Source
var ErrInvalidCardId = errors.New("invalid card ID")

ErrInvalidCardId is returned when the card ID is invalid.

View Source
var ErrInvalidCardNumber = errors.New("invalid card number")

ErrInvalidCardNumber is returned when the card number is invalid.

View Source
var ErrInvalidCardRequest = errors.New("invalid card request data")

ErrInvalidCardRequest is returned when the card request data is invalid.

View Source
var ErrInvalidUserId = errors.New("invalid user ID")

ErrInvalidUserId is returned when the user ID is invalid.

View Source
var ErrRestoreAllCardsFailed = errors.New("failed to restore all cards")

ErrRestoreAllCardsFailed is returned when restoring all trashed cards fails.

View Source
var ErrRestoreCardFailed = errors.New("failed to restore card")

ErrRestoreCardFailed is returned when restoring a trashed card fails.

View Source
var ErrTrashCardFailed = errors.New("failed to trash card")

ErrTrashCardFailed is returned when trashing a card fails.

View Source
var ErrUpdateCardFailed = errors.New("failed to update card")

ErrUpdateCardFailed is returned when updating a card fails.

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