Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrCreateTransactionFailed indicates a failure when creating a new transaction. ErrCreateTransactionFailed = errors.ErrInternal.WithMessage("Failed to create transaction") // ErrUpdateTransactionFailed indicates a failure when updating a transaction. ErrUpdateTransactionFailed = errors.ErrInternal.WithMessage("Failed to update transaction") // ErrUpdateTransactionStatusFailed indicates a failure when updating the status of a transaction. ErrUpdateTransactionStatusFailed = errors.ErrInternal.WithMessage("Failed to update transaction status") // ErrTrashedTransactionFailed indicates a failure when soft-deleting (trashing) a transaction. ErrTrashedTransactionFailed = errors.ErrInternal.WithMessage("Failed to move transaction to trash") // ErrRestoreTransactionFailed indicates a failure when restoring a trashed transaction. ErrRestoreTransactionFailed = errors.ErrInternal.WithMessage("Failed to restore transaction from trash") // ErrDeleteTransactionPermanentFailed indicates a failure when permanently deleting a transaction. ErrDeleteTransactionPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete transaction") // ErrRestoreAllTransactionsFailed indicates a failure when restoring all trashed transactions. ErrRestoreAllTransactionsFailed = errors.ErrInternal.WithMessage("Failed to restore all transactions") // ErrDeleteAllTransactionsPermanentFailed indicates a failure when permanently deleting all transactions. ErrDeleteAllTransactionsPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete all transactions") )
var ( // ErrFindAllTransactionsFailed indicates a failure when attempting to retrieve all transactions. ErrFindAllTransactionsFailed = errors.ErrInternal.WithMessage("Failed to find all transactions") // ErrFindActiveTransactionsFailed indicates a failure when retrieving active (non-deleted) transactions. ErrFindActiveTransactionsFailed = errors.ErrInternal.WithMessage("Failed to find active transactions") // ErrFindTrashedTransactionsFailed indicates a failure when retrieving soft-deleted (trashed) transactions. ErrFindTrashedTransactionsFailed = errors.ErrInternal.WithMessage("Failed to find trashed transactions") // ErrFindTransactionsByCardNumberFailed indicates a failure when retrieving transactions by card number. ErrFindTransactionsByCardNumberFailed = errors.ErrInternal.WithMessage("Failed to find transactions by card number") // ErrFindTransactionByIdFailed indicates a failure when retrieving a transaction by its ID. ErrFindTransactionByIdFailed = errors.ErrInternal.WithMessage("Failed to find transaction by ID") // ErrFindTransactionByMerchantIdFailed indicates a failure when retrieving transactions by merchant ID. ErrFindTransactionByMerchantIdFailed = errors.ErrInternal.WithMessage("Failed to find transaction by merchant ID") )
var ErrGetMonthTransactionStatusFailedByCardFailed = errors.New("failed to get monthly transaction status failed by card number")
ErrGetMonthTransactionStatusFailedByCardFailed indicates a failure when retrieving monthly failed transactions by card number.
var ErrGetMonthTransactionStatusFailedFailed = errors.New("failed to get monthly transaction status failed")
ErrGetMonthTransactionStatusFailedFailed indicates a failure when retrieving monthly failed transaction status.
var ErrGetMonthTransactionStatusSuccessByCardFailed = errors.New("failed to get monthly transaction status success by card number")
ErrGetMonthTransactionStatusSuccessByCardFailed indicates a failure when retrieving monthly successful transactions by card number.
var ErrGetMonthTransactionStatusSuccessFailed = errors.New("failed to get monthly transaction status success")
ErrGetMonthTransactionStatusSuccessFailed indicates a failure when retrieving monthly successful transaction status.
var ErrGetMonthlyAmountsByCardFailed = errors.New("failed to get monthly amounts by card number")
ErrGetMonthlyAmountsByCardFailed indicates a failure when retrieving monthly amounts by card number.
var ErrGetMonthlyAmountsFailed = errors.New("failed to get monthly amounts")
ErrGetMonthlyAmountsFailed indicates a failure when retrieving total monthly transaction amounts.
var ErrGetMonthlyPaymentMethodsByCardFailed = errors.New("failed to get monthly payment methods by card number")
ErrGetMonthlyPaymentMethodsByCardFailed indicates a failure when retrieving monthly payment methods by card number.
var ErrGetMonthlyPaymentMethodsFailed = errors.New("failed to get monthly payment methods")
ErrGetMonthlyPaymentMethodsFailed indicates a failure when retrieving monthly payment method statistics.
var ErrGetYearlyAmountsByCardFailed = errors.New("failed to get yearly amounts by card number")
ErrGetYearlyAmountsByCardFailed indicates a failure when retrieving yearly amounts by card number.
var ErrGetYearlyAmountsFailed = errors.New("failed to get yearly amounts")
ErrGetYearlyAmountsFailed indicates a failure when retrieving total yearly transaction amounts.
var ErrGetYearlyPaymentMethodsByCardFailed = errors.New("failed to get yearly payment methods by card number")
ErrGetYearlyPaymentMethodsByCardFailed indicates a failure when retrieving yearly payment methods by card number.
var ErrGetYearlyPaymentMethodsFailed = errors.New("failed to get yearly payment methods")
ErrGetYearlyPaymentMethodsFailed indicates a failure when retrieving yearly payment method statistics.
var ErrGetYearlyTransactionStatusFailedByCardFailed = errors.New("failed to get yearly transaction status failed by card number")
ErrGetYearlyTransactionStatusFailedByCardFailed indicates a failure when retrieving yearly failed transactions by card number.
var ErrGetYearlyTransactionStatusFailedFailed = errors.New("failed to get yearly transaction status failed")
ErrGetYearlyTransactionStatusFailedFailed indicates a failure when retrieving yearly failed transaction status.
var ErrGetYearlyTransactionStatusSuccessByCardFailed = errors.New("failed to get yearly transaction status success by card number")
ErrGetYearlyTransactionStatusSuccessByCardFailed indicates a failure when retrieving yearly successful transactions by card number.
var ErrGetYearlyTransactionStatusSuccessFailed = errors.New("failed to get yearly transaction status success")
ErrGetYearlyTransactionStatusSuccessFailed indicates a failure when retrieving yearly successful transaction status.
Functions ¶
This section is empty.
Types ¶
This section is empty.