transferserviceerrors

package
v1.0.29 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 (
	// ErrFailedCreateTransfer indicates a failure when attempting to create a new transfer record.
	ErrFailedCreateTransfer = errors.ErrInternal.WithMessage("Failed to create transfer")

	// ErrFailedUpdateTransfer indicates a failure when attempting to update an existing transfer record.
	ErrFailedUpdateTransfer = errors.ErrInternal.WithMessage("Failed to update transfer")

	// ErrFailedTrashedTransfer indicates a failure when attempting to soft-delete (trash) a transfer.
	ErrFailedTrashedTransfer = errors.ErrInternal.WithMessage("Failed to move transfer to trash")

	// ErrFailedRestoreTransfer indicates a failure when attempting to restore a previously trashed transfer.
	ErrFailedRestoreTransfer = errors.ErrInternal.WithMessage("Failed to restore transfer")

	// ErrFailedDeleteTransferPermanent indicates a failure when attempting to permanently delete a transfer.
	ErrFailedDeleteTransferPermanent = errors.ErrInternal.WithMessage("Failed to delete transfer permanently")

	// ErrFailedRestoreAllTransfers indicates a failure when attempting to restore all trashed transfers.
	ErrFailedRestoreAllTransfers = errors.ErrInternal.WithMessage("Failed to restore all transfers")

	// ErrFailedDeleteAllTransfersPermanent indicates a failure when attempting to permanently delete all transfer records.
	ErrFailedDeleteAllTransfersPermanent = errors.ErrInternal.WithMessage("Failed to delete all transfers permanently")
)
View Source
var (
	// ErrFailedFindAllTransfers indicates a failure when retrieving all transfer records.
	ErrFailedFindAllTransfers = errors.ErrInternal.WithMessage("Failed to fetch all transfers")

	// ErrTransferNotFound indicates that a specific transfer record was not found.
	ErrTransferNotFound = errors.ErrNotFound.WithMessage("Transfer not found")

	// ErrFailedFindActiveTransfers indicates a failure when retrieving active transfer records.
	ErrFailedFindActiveTransfers = errors.ErrInternal.WithMessage("Failed to fetch active transfers")

	// ErrFailedFindTrashedTransfers indicates a failure when retrieving trashed (soft-deleted) transfer records.
	ErrFailedFindTrashedTransfers = errors.ErrInternal.WithMessage("Failed to fetch trashed transfers")

	// ErrFailedFindTransfersBySender indicates a failure when retrieving transfers filtered by sender card.
	ErrFailedFindTransfersBySender = errors.ErrInternal.WithMessage("Failed to fetch transfers by sender")

	// ErrFailedFindTransfersByReceiver indicates a failure when retrieving transfers filtered by receiver card.
	ErrFailedFindTransfersByReceiver = errors.ErrInternal.WithMessage("Failed to fetch transfers by receiver")
)
View Source
var ErrFailedFindMonthTransferStatusFailed = errors.NewErrorResponse("Failed to fetch monthly failed transfers", http.StatusInternalServerError)

ErrFailedFindMonthTransferStatusFailed indicates a failure when retrieving monthly failed transfer statistics.

View Source
var ErrFailedFindMonthTransferStatusFailedByCard = errors.NewErrorResponse("Failed to fetch monthly failed transfers by card", http.StatusInternalServerError)

ErrFailedFindMonthTransferStatusFailedByCard indicates a failure when retrieving monthly failed transfers by card number.

View Source
var ErrFailedFindMonthTransferStatusSuccess = errors.NewErrorResponse("Failed to fetch monthly successful transfers", http.StatusInternalServerError)

ErrFailedFindMonthTransferStatusSuccess indicates a failure when retrieving monthly successful transfer statistics.

View Source
var ErrFailedFindMonthTransferStatusSuccessByCard = errors.NewErrorResponse("Failed to fetch monthly successful transfers by card", http.StatusInternalServerError)

ErrFailedFindMonthTransferStatusSuccessByCard indicates a failure when retrieving monthly successful transfers by card number.

View Source
var ErrFailedFindMonthlyTransferAmounts = errors.NewErrorResponse("Failed to fetch monthly transfer amounts", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmounts indicates a failure when retrieving the total monthly transfer amounts.

View Source
var ErrFailedFindMonthlyTransferAmountsByReceiverCard = errors.NewErrorResponse("Failed to fetch monthly transfer amounts by receiver card", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountsByReceiverCard indicates a failure when retrieving monthly transfer amounts by receiver card number.

View Source
var ErrFailedFindMonthlyTransferAmountsBySenderCard = errors.NewErrorResponse("Failed to fetch monthly transfer amounts by sender card", http.StatusInternalServerError)

ErrFailedFindMonthlyTransferAmountsBySenderCard indicates a failure when retrieving monthly transfer amounts by sender card number.

View Source
var ErrFailedFindYearTransferStatusFailed = errors.NewErrorResponse("Failed to fetch yearly failed transfers", http.StatusInternalServerError)

ErrFailedFindYearTransferStatusFailed indicates a failure when retrieving yearly failed transfer statistics.

View Source
var ErrFailedFindYearTransferStatusFailedByCard = errors.NewErrorResponse("Failed to fetch yearly failed transfers by card", http.StatusInternalServerError)

ErrFailedFindYearTransferStatusFailedByCard indicates a failure when retrieving yearly failed transfers by card number.

View Source
var ErrFailedFindYearTransferStatusSuccess = errors.NewErrorResponse("Failed to fetch yearly successful transfers", http.StatusInternalServerError)

ErrFailedFindYearTransferStatusSuccess indicates a failure when retrieving yearly successful transfer statistics.

View Source
var ErrFailedFindYearTransferStatusSuccessByCard = errors.NewErrorResponse("Failed to fetch yearly successful transfers by card", http.StatusInternalServerError)

ErrFailedFindYearTransferStatusSuccessByCard indicates a failure when retrieving yearly successful transfers by card number.

View Source
var ErrFailedFindYearlyTransferAmounts = errors.NewErrorResponse("Failed to fetch yearly transfer amounts", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmounts indicates a failure when retrieving the total yearly transfer amounts.

View Source
var ErrFailedFindYearlyTransferAmountsByReceiverCard = errors.NewErrorResponse("Failed to fetch yearly transfer amounts by receiver card", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountsByReceiverCard indicates a failure when retrieving yearly transfer amounts by receiver card number.

View Source
var ErrFailedFindYearlyTransferAmountsBySenderCard = errors.NewErrorResponse("Failed to fetch yearly transfer amounts by sender card", http.StatusInternalServerError)

ErrFailedFindYearlyTransferAmountsBySenderCard indicates a failure when retrieving yearly transfer amounts by sender card number.

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