Composable Commerce PHP SDKPHP SDK
  • Namespace
  • Class
  • Tree

Namespaces

  • Commercetools
    • Commons
      • Helper
    • Core
      • Builder
        • Request
        • Update
      • Cache
      • Client
        • Adapter
        • OAuth
      • Error
      • Helper
        • Annotate
        • State
          • Renderer
        • Subscriber
          • Log
      • Model
        • ApiClient
        • Cart
        • CartDiscount
        • Category
        • Channel
        • Common
        • Customer
        • CustomerGroup
        • CustomField
        • CustomObject
        • DiscountCode
        • Extension
        • Inventory
        • Message
        • Order
        • OrderEdit
        • Payment
        • Product
          • Search
        • ProductDiscount
        • ProductSelection
        • ProductType
        • Project
        • Review
        • ShippingMethod
        • ShoppingList
        • State
        • Store
        • Subscription
        • TaxCategory
        • Type
        • Zone
      • Request
        • ApiClients
        • CartDiscounts
          • Command
        • Carts
          • Command
        • Categories
          • Command
        • Channels
          • Command
        • CustomerGroups
          • Command
        • Customers
          • Command
        • CustomField
          • Command
        • CustomObjects
        • DiscountCodes
          • Command
        • Extensions
          • Command
        • GraphQL
        • InStores
        • Inventory
          • Command
        • Me
          • Command
        • Messages
        • OrderEdits
          • Command
          • StagedOrder
            • Command
        • Orders
          • Command
        • Payments
          • Command
        • ProductDiscounts
          • Command
        • Products
          • Command
        • ProductSelections
          • Command
        • ProductTypes
          • Command
        • Project
          • Command
        • Query
        • Reviews
          • Command
        • ShippingMethods
          • Command
        • ShoppingLists
          • Command
        • States
          • Command
        • Stores
          • Command
        • Subscriptions
          • Command
        • TaxCategories
          • Command
        • Types
          • Command
        • Zones
          • Command
      • Response

Classes

  • AccessDeniedError
  • ApiError
  • ConcurrentModificationError
  • DiscountCodeNonApplicableError
  • DuplicateAttributeValueError
  • DuplicateAttributeValuesError
  • DuplicateFieldError
  • DuplicateFieldWithConflictingResourceError
  • DuplicatePriceScopeError
  • DuplicateVariantValuesError
  • EnumValueIsUsedError
  • ErrorContainer
  • InsufficientScopeError
  • InvalidCredentialsError
  • InvalidCurrentPasswordError
  • InvalidFieldError
  • InvalidItemShippingDetailsError
  • InvalidOperationError
  • InvalidSubjectError
  • InvalidTokenError
  • LanguageUsedInStoresError
  • MatchingPriceNotFoundError
  • Message
  • MissingRoleOnChannelError
  • MissingTaxRateForCountryError
  • NoMatchingProductDiscountFoundError
  • OutOfStockError
  • PriceChangedError
  • ProjectNotConfiguredForLanguagesError
  • QueryTimedOutError
  • RequiredFieldError
  • ResourceNotFoundError
  • ShippingMethodDoesNotMatchCartError

Exceptions

  • ApiException
  • ApiServiceException
  • BadGatewayException
  • BadRequestException
  • ClientErrorException
  • ConcurrentModificationException
  • DeprecatedException
  • ErrorResponseException
  • ForbiddenException
  • GatewayTimeoutException
  • InternalServerErrorException
  • InvalidArgumentException
  • InvalidClientCredentialsException
  • InvalidTokenException
  • NotFoundException
  • ServerErrorException
  • ServiceUnavailableException
  • UnauthorizedException
  • UpdateActionLimitException

Class ApiServiceException

Base exception for all responses with status code 4xx or 5xx

Exception implements Throwable
Extended by Commercetools\Core\Error\ApiException
Extended by Commercetools\Core\Error\ApiServiceException

Direct known subclasses

Commercetools\Core\Error\ClientErrorException, Commercetools\Core\Error\ServerErrorException

Indirect known subclasses

Commercetools\Core\Error\BadGatewayException, Commercetools\Core\Error\BadRequestException, Commercetools\Core\Error\ServiceUnavailableException, Commercetools\Core\Error\UnauthorizedException, Commercetools\Core\Error\ConcurrentModificationException, Commercetools\Core\Error\ErrorResponseException, Commercetools\Core\Error\ForbiddenException, Commercetools\Core\Error\GatewayTimeoutException, Commercetools\Core\Error\InternalServerErrorException, Commercetools\Core\Error\InvalidClientCredentialsException, Commercetools\Core\Error\InvalidTokenException, Commercetools\Core\Error\NotFoundException

Namespace: Commercetools\Core\Error
Located at Core/Error/ApiServiceException.php

Methods summary

Methods inherited from Commercetools\Core\Error\ApiException

__construct(), create(), getErrors(), getRequest(), getResponse(), getResponseMessage(), getResponseStatusCode()

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

PHP SDK API documentation generated by ApiGen