Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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") )
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") )
var ErrFailedFindMonthTransferStatusFailed = errors.NewErrorResponse("Failed to fetch monthly failed transfers", http.StatusInternalServerError)
ErrFailedFindMonthTransferStatusFailed indicates a failure when retrieving monthly failed transfer statistics.
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.
var ErrFailedFindMonthTransferStatusSuccess = errors.NewErrorResponse("Failed to fetch monthly successful transfers", http.StatusInternalServerError)
ErrFailedFindMonthTransferStatusSuccess indicates a failure when retrieving monthly successful transfer statistics.
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.
var ErrFailedFindMonthlyTransferAmounts = errors.NewErrorResponse("Failed to fetch monthly transfer amounts", http.StatusInternalServerError)
ErrFailedFindMonthlyTransferAmounts indicates a failure when retrieving the total monthly transfer amounts.
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.
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.
var ErrFailedFindYearTransferStatusFailed = errors.NewErrorResponse("Failed to fetch yearly failed transfers", http.StatusInternalServerError)
ErrFailedFindYearTransferStatusFailed indicates a failure when retrieving yearly failed transfer statistics.
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.
var ErrFailedFindYearTransferStatusSuccess = errors.NewErrorResponse("Failed to fetch yearly successful transfers", http.StatusInternalServerError)
ErrFailedFindYearTransferStatusSuccess indicates a failure when retrieving yearly successful transfer statistics.
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.
var ErrFailedFindYearlyTransferAmounts = errors.NewErrorResponse("Failed to fetch yearly transfer amounts", http.StatusInternalServerError)
ErrFailedFindYearlyTransferAmounts indicates a failure when retrieving the total yearly transfer amounts.
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.
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.