merchantdocumentrepositoryerrors

package
v1.0.28 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: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCreateMerchantDocumentFailed is returned when failing to create a new merchant document.
	ErrCreateMerchantDocumentFailed = errors.ErrInternal.WithMessage("Failed to create merchant document")

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

	// ErrUpdateMerchantDocumentStatusFailed is returned when failing to update the status of a merchant document.
	ErrUpdateMerchantDocumentStatusFailed = errors.ErrInternal.WithMessage("Failed to update merchant document status")

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

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

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

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

	// ErrDeleteAllMerchantDocumentsPermanentFailed is returned when failing to permanently delete all merchant documents.
	ErrDeleteAllMerchantDocumentsPermanentFailed = errors.ErrInternal.WithMessage("Failed to permanently delete all merchant documents")
)
View Source
var (
	// ErrFindAllMerchantDocumentsFailed is returned when failing to retrieve all merchant documents.
	ErrFindAllMerchantDocumentsFailed = errors.ErrInternal.WithMessage("Failed to find all merchant documents")

	// ErrFindActiveMerchantDocumentsFailed is returned when failing to retrieve active merchant documents.
	ErrFindActiveMerchantDocumentsFailed = errors.ErrInternal.WithMessage("Failed to find active merchant documents")

	// ErrFindTrashedMerchantDocumentsFailed is returned when failing to retrieve trashed merchant documents.
	ErrFindTrashedMerchantDocumentsFailed = errors.ErrInternal.WithMessage("Failed to find trashed merchant documents")

	// ErrFindMerchantDocumentByIdFailed is returned when failing to retrieve a merchant document by ID.
	ErrFindMerchantDocumentByIdFailed = 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