merchantserviceerrors

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 2 Imported by: ? 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 ErrFailedCreateMerchant = errors.NewErrorResponse("Failed to create Merchant", http.StatusInternalServerError)

ErrFailedCreateMerchant indicates failure when creating a new merchant.

View Source
var ErrFailedDeleteAllMerchants = errors.NewErrorResponse("Failed to delete all Merchants permanently", http.StatusInternalServerError)

ErrFailedDeleteAllMerchants indicates failure when permanently deleting all trashed merchants.

View Source
var ErrFailedDeleteMerchant = errors.NewErrorResponse("Failed to delete Merchant permanently", http.StatusInternalServerError)

ErrFailedDeleteMerchant indicates failure when permanently deleting a merchant.

View Source
var ErrFailedFindActiveMerchants = errors.NewErrorResponse("Failed to fetch active Merchants", http.StatusInternalServerError)

ErrFailedFindActiveMerchants indicates failure in fetching active merchants.

View Source
var ErrFailedFindAllMerchants = errors.NewErrorResponse("Failed to fetch Merchants", http.StatusInternalServerError)

ErrFailedFindAllMerchants indicates failure in fetching all merchants.

View Source
var ErrFailedFindAllTransactions = errors.NewErrorResponse("Failed to fetch Merchant transactions", http.StatusInternalServerError)

ErrFailedFindAllTransactions is returned when fetching all transactions fails.

View Source
var ErrFailedFindAllTransactionsByApikey = errors.NewErrorResponse("Failed to fetch transactions by API key", http.StatusInternalServerError)

ErrFailedFindAllTransactionsByApikey is returned when fetching transactions by API key fails.

View Source
var ErrFailedFindAllTransactionsByMerchant = errors.NewErrorResponse("Failed to fetch transactions by Merchant", http.StatusInternalServerError)

ErrFailedFindAllTransactionsByMerchant is returned when fetching transactions by merchant fails.

View Source
var ErrFailedFindByApiKey = errors.NewErrorResponse("Failed to find Merchant by API key", http.StatusInternalServerError)

ErrFailedFindByApiKey is returned when a merchant cannot be found by API key.

View Source
var ErrFailedFindByMerchantUserId = errors.NewErrorResponse("Failed to find Merchant by User ID", http.StatusInternalServerError)

ErrFailedFindByMerchantUserId is returned when a merchant cannot be found by user ID.

View Source
var ErrFailedFindMerchantById = errors.NewErrorResponse("Failed to find Merchant by ID", http.StatusInternalServerError)

ErrFailedFindMerchantById is returned when a merchant cannot be found by ID.

View Source
var ErrFailedFindMonthlyAmountByApikeys = errors.NewErrorResponse("Failed to get monthly amount by API key", http.StatusInternalServerError)

ErrFailedFindMonthlyAmountByApikeys indicates failure fetching monthly amounts by API key.

View Source
var ErrFailedFindMonthlyAmountByMerchants = errors.NewErrorResponse("Failed to get monthly amount by Merchant", http.StatusInternalServerError)

ErrFailedFindMonthlyAmountByMerchants indicates failure fetching monthly amounts by merchant.

View Source
var ErrFailedFindMonthlyAmountMerchant = errors.NewErrorResponse("Failed to get monthly amount", http.StatusInternalServerError)

ErrFailedFindMonthlyAmountMerchant indicates failure fetching monthly amounts.

View Source
var ErrFailedFindMonthlyPaymentMethodByApikeys = errors.NewErrorResponse("Failed to get monthly payment methods by API key", http.StatusInternalServerError)

ErrFailedFindMonthlyPaymentMethodByApikeys indicates failure fetching monthly payment methods by API key.

View Source
var ErrFailedFindMonthlyPaymentMethodByMerchants = errors.NewErrorResponse("Failed to get monthly payment methods by Merchant", http.StatusInternalServerError)

ErrFailedFindMonthlyPaymentMethodByMerchants indicates failure fetching monthly payment methods by merchant.

View Source
var ErrFailedFindMonthlyPaymentMethodsMerchant = errors.NewErrorResponse("Failed to get monthly payment methods", http.StatusInternalServerError)

ErrFailedFindMonthlyPaymentMethodsMerchant indicates failure fetching monthly payment methods.

View Source
var ErrFailedFindMonthlyTotalAmountByApikeys = errors.NewErrorResponse("Failed to get monthly total amount by API key", http.StatusInternalServerError)

ErrFailedFindMonthlyTotalAmountByApikeys indicates failure fetching monthly total amounts by API key.

View Source
var ErrFailedFindMonthlyTotalAmountByMerchants = errors.NewErrorResponse("Failed to get monthly total amount by Merchant", http.StatusInternalServerError)

ErrFailedFindMonthlyTotalAmountByMerchants indicates failure fetching monthly total amounts by merchant.

View Source
var ErrFailedFindMonthlyTotalAmountMerchant = errors.NewErrorResponse("Failed to get monthly total amount", http.StatusInternalServerError)

ErrFailedFindMonthlyTotalAmountMerchant indicates failure fetching monthly total amounts.

View Source
var ErrFailedFindTrashedMerchants = errors.NewErrorResponse("Failed to fetch trashed Merchants", http.StatusInternalServerError)

ErrFailedFindTrashedMerchants indicates failure in fetching trashed merchants.

View Source
var ErrFailedFindYearlyAmountByApikeys = errors.NewErrorResponse("Failed to get yearly amount by API key", http.StatusInternalServerError)

ErrFailedFindYearlyAmountByApikeys indicates failure fetching yearly amounts by API key.

View Source
var ErrFailedFindYearlyAmountByMerchants = errors.NewErrorResponse("Failed to get yearly amount by Merchant", http.StatusInternalServerError)

ErrFailedFindYearlyAmountByMerchants indicates failure fetching yearly amounts by merchant.

View Source
var ErrFailedFindYearlyAmountMerchant = errors.NewErrorResponse("Failed to get yearly amount", http.StatusInternalServerError)

ErrFailedFindYearlyAmountMerchant indicates failure fetching yearly amounts.

View Source
var ErrFailedFindYearlyPaymentMethodByApikeys = errors.NewErrorResponse("Failed to get yearly payment method by API key", http.StatusInternalServerError)

ErrFailedFindYearlyPaymentMethodByApikeys indicates failure fetching yearly payment methods by API key.

View Source
var ErrFailedFindYearlyPaymentMethodByMerchants = errors.NewErrorResponse("Failed to get yearly payment method by Merchant", http.StatusInternalServerError)

ErrFailedFindYearlyPaymentMethodByMerchants indicates failure fetching yearly payment methods by merchant.

View Source
var ErrFailedFindYearlyPaymentMethodMerchant = errors.NewErrorResponse("Failed to get yearly payment method", http.StatusInternalServerError)

ErrFailedFindYearlyPaymentMethodMerchant indicates failure fetching yearly payment methods.

View Source
var ErrFailedFindYearlyTotalAmountByApikeys = errors.NewErrorResponse("Failed to get yearly total amount by API key", http.StatusInternalServerError)

ErrFailedFindYearlyTotalAmountByApikeys indicates failure fetching yearly total amounts by API key.

View Source
var ErrFailedFindYearlyTotalAmountByMerchants = errors.NewErrorResponse("Failed to get yearly total amount by Merchant", http.StatusInternalServerError)

ErrFailedFindYearlyTotalAmountByMerchants indicates failure fetching yearly total amounts by merchant.

View Source
var ErrFailedFindYearlyTotalAmountMerchant = errors.NewErrorResponse("Failed to get yearly total amount", http.StatusInternalServerError)

ErrFailedFindYearlyTotalAmountMerchant indicates failure fetching yearly total amounts.

View Source
var ErrFailedRestoreAllMerchants = errors.NewErrorResponse("Failed to restore all Merchants", http.StatusInternalServerError)

ErrFailedRestoreAllMerchants indicates failure when restoring all trashed merchants.

View Source
var ErrFailedRestoreMerchant = errors.NewErrorResponse("Failed to restore Merchant", http.StatusInternalServerError)

ErrFailedRestoreMerchant indicates failure when restoring a trashed merchant.

View Source
var ErrFailedSendEmail = errors.NewErrorResponse("Failed to send email", http.StatusInternalServerError)

ErrFailedSendEmail indicates a failure when sending an email related to merchant operations.

View Source
var ErrFailedTrashMerchant = errors.NewErrorResponse("Failed to trash Merchant", http.StatusInternalServerError)

ErrFailedTrashMerchant indicates failure when soft-deleting (trashing) a merchant.

View Source
var ErrFailedUpdateMerchant = errors.NewErrorResponse("Failed to update Merchant", http.StatusInternalServerError)

ErrFailedUpdateMerchant indicates failure when updating a merchant.

View Source
var ErrMerchantNotFoundRes = errors.NewErrorResponse("Merchant not found", http.StatusNotFound)

ErrMerchantNotFoundRes is returned when the merchant is not found.

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