transactionrepositoryerrors

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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")
)
View Source
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")
)
View Source
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.

View Source
var ErrGetMonthTransactionStatusFailedFailed = errors.New("failed to get monthly transaction status failed")

ErrGetMonthTransactionStatusFailedFailed indicates a failure when retrieving monthly failed transaction status.

View Source
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.

View Source
var ErrGetMonthTransactionStatusSuccessFailed = errors.New("failed to get monthly transaction status success")

ErrGetMonthTransactionStatusSuccessFailed indicates a failure when retrieving monthly successful transaction status.

View Source
var ErrGetMonthlyAmountsByCardFailed = errors.New("failed to get monthly amounts by card number")

ErrGetMonthlyAmountsByCardFailed indicates a failure when retrieving monthly amounts by card number.

View Source
var ErrGetMonthlyAmountsFailed = errors.New("failed to get monthly amounts")

ErrGetMonthlyAmountsFailed indicates a failure when retrieving total monthly transaction amounts.

View Source
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.

View Source
var ErrGetMonthlyPaymentMethodsFailed = errors.New("failed to get monthly payment methods")

ErrGetMonthlyPaymentMethodsFailed indicates a failure when retrieving monthly payment method statistics.

View Source
var ErrGetYearlyAmountsByCardFailed = errors.New("failed to get yearly amounts by card number")

ErrGetYearlyAmountsByCardFailed indicates a failure when retrieving yearly amounts by card number.

View Source
var ErrGetYearlyAmountsFailed = errors.New("failed to get yearly amounts")

ErrGetYearlyAmountsFailed indicates a failure when retrieving total yearly transaction amounts.

View Source
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.

View Source
var ErrGetYearlyPaymentMethodsFailed = errors.New("failed to get yearly payment methods")

ErrGetYearlyPaymentMethodsFailed indicates a failure when retrieving yearly payment method statistics.

View Source
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.

View Source
var ErrGetYearlyTransactionStatusFailedFailed = errors.New("failed to get yearly transaction status failed")

ErrGetYearlyTransactionStatusFailedFailed indicates a failure when retrieving yearly failed transaction status.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL