merchantdocumentserviceerrors

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: 1 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 (
	// ErrFailedCreateMerchantDocument is returned when failing to create a new merchant document.
	ErrFailedCreateMerchantDocument = errors.ErrInternal.WithMessage("Failed to create merchant document")

	// ErrFailedUpdateMerchantDocument is returned when failing to update an existing merchant document.
	ErrFailedUpdateMerchantDocument = errors.ErrInternal.WithMessage("Failed to update merchant document")

	// ErrFailedTrashMerchantDocument is returned when failing to move a merchant document to trash.
	ErrFailedTrashMerchantDocument = errors.ErrInternal.WithMessage("Failed to move merchant document to trash")

	// ErrFailedRestoreMerchantDocument is returned when failing to restore a trashed merchant document.
	ErrFailedRestoreMerchantDocument = errors.ErrInternal.WithMessage("Failed to restore merchant document")

	// ErrFailedDeleteMerchantDocument is returned when failing to permanently delete a merchant document.
	ErrFailedDeleteMerchantDocument = errors.ErrInternal.WithMessage("Failed to delete merchant document permanently")

	// ErrFailedRestoreAllMerchantDocuments is returned when failing to restore all trashed merchant documents.
	ErrFailedRestoreAllMerchantDocuments = errors.ErrInternal.WithMessage("Failed to restore all merchant documents")

	// ErrFailedDeleteAllMerchantDocuments is returned when failing to permanently delete all merchant documents.
	ErrFailedDeleteAllMerchantDocuments = errors.ErrInternal.WithMessage("Failed to delete all merchant documents permanently")
)
View Source
var (
	// ErrMerchantDocumentNotFoundRes is returned when the requested merchant document cannot be found.
	ErrMerchantDocumentNotFoundRes = errors.ErrNotFound.WithMessage("Merchant document not found")

	// ErrFailedFindAllMerchantDocuments is returned when failing to fetch all merchant documents.
	ErrFailedFindAllMerchantDocuments = errors.ErrInternal.WithMessage("Failed to fetch merchant documents")

	// ErrFailedFindActiveMerchantDocuments is returned when failing to fetch active merchant documents.
	ErrFailedFindActiveMerchantDocuments = errors.ErrInternal.WithMessage("Failed to fetch active merchant documents")

	// ErrFailedFindTrashedMerchantDocuments is returned when failing to fetch trashed merchant documents.
	ErrFailedFindTrashedMerchantDocuments = errors.ErrInternal.WithMessage("Failed to fetch trashed merchant documents")

	// ErrFailedFindMerchantDocumentById is returned when failing to find a merchant document by ID.
	ErrFailedFindMerchantDocumentById = errors.ErrInternal.WithMessage("Failed to find merchant document by ID")
)

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