Interface ErrorObject

All Known Subinterfaces:
AgentBusinessUnitAmbiguousError, AgentBusinessUnitLimitExceededError, AgentBusinessUnitUnresolvedError, AgentExtractionFailedError, AgentFeatureDisabledError, AgentMissingCountryError, AgentMissingCustomerEmailError, AgentMissingEntityTypeError, AgentMissingShoppingListNameError, AgentNoLineItemsExtractedError, AgentOutOfScopeError, AgentProductSearchNotEnabledError, AgentProductsNotFoundError, AgentQuoteRequestCreationFailedError, AgentShoppingListCreationFailedError, AgentStoreAmbiguousError, AgentStoreDistributionChannelsUnsupportedError, AgentStoreUnresolvedError, AnonymousIdAlreadyInUseError, AssociateMissingPermissionError, AttributeDefinitionAlreadyExistsError, AttributeDefinitionTypeConflictError, AttributeNameDoesNotExistError, BadGatewayError, BulkOperationMaxItemsExceededError, ConcurrentModificationError, ContentTooLargeError, CountryNotConfiguredInStoreError, DiscountCodeNonApplicableError, DuplicateAttributeValueError, DuplicateAttributeValuesError, DuplicateEnumValuesError, DuplicateFieldError, DuplicateFieldWithConflictingResourceError, DuplicatePriceKeyError, DuplicatePriceScopeError, DuplicateStandalonePriceScopeError, DuplicateVariantValuesError, EditPreviewFailedError, EnumKeyAlreadyExistsError, EnumKeyDoesNotExistError, EnumValueIsUsedError, EnumValuesMustMatchError, ExactLockConflictError, ExpiredCustomerEmailTokenError, ExpiredCustomerPasswordTokenError, ExtensionBadResponseError, ExtensionChainTooDeepError, ExtensionChainTooWideError, ExtensionCircularDependencyError, ExtensionDependencyExistsError, ExtensionNoResponseError, ExtensionPredicateEvaluationFailedError, ExtensionUpdateActionsFailedError, ExternalOAuthFailedError, FeatureRemovedError, GeneralError, InsufficientScopeError, InternalConstraintViolatedError, InvalidCredentialsError, InvalidCurrentPasswordError, InvalidFieldError, InvalidInputError, InvalidItemShippingDetailsError, InvalidJsonInputError, InvalidOperationError, InvalidSubjectError, InvalidTokenError, LanguageUsedInStoresError, LineItemQuantityAboveLimitError, LineItemQuantityBelowLimitError, LockedFieldError, MatchingPriceNotFoundError, MaxCartDiscountsReachedError, MaxDiscountGroupsReachedError, MaxResourceLimitExceededError, MaxStoreReferencesReachedError, MissingRoleOnChannelError, MissingTaxRateForCountryError, MoneyOverflowError, NoMatchingProductDiscountFoundError, ObjectNotFoundError, OutOfStockError, OverCapacityError, OverlappingPriceValidityError, OverlappingStandalonePriceValidityError, PendingOperationError, PriceChangedError, ProductAssignmentMissingError, ProductPresentWithDifferentVariantSelectionError, ProjectNotConfiguredForLanguagesError, QueryComplexityLimitExceededError, QueryTimedOutError, RecurringOrderFailureError, ReferencedResourceNotFoundError, ReferenceExistsError, RequiredFieldError, ResourceNotFoundError, ResourceSizeLimitExceededError, SearchDeactivatedError, SearchExecutionFailureError, SearchFacetPathNotFoundError, SearchIndexingInProgressError, SearchNotReadyError, SemanticErrorError, ShippingMethodDoesNotMatchCartError, StoreCartDiscountsLimitReachedError, SyntaxErrorError, UnauthorizedError, ValidityLockConflictError

public interface ErrorObject

Represents a single error. Multiple errors may be included in an ErrorResponse.


Example to create a subtype instance using the builder pattern

     ErrorObject errorObject = ErrorObject.businessUnitAmbiguousBuilder()
             message("{message}")

             .build()
 
  • Method Details