Options
All
  • Public
  • Public/Protected
  • All
Menu

Module errors

Index

References

SignalError

Renames and exports default

SignalTypeError

Renames and exports default

Variables

Const BASE_URL_IS_REQUIRED_MESSAGE

BASE_URL_IS_REQUIRED_MESSAGE: "'options.baseUrl' is required and should be a string or remove it from your options to use the default baseUrl" = ...

Const CLIENT_TOKEN_IS_REQUIRED_MESSAGE

CLIENT_TOKEN_IS_REQUIRED_MESSAGE: "'CLIENT_TOKEN' is required and should be a string" = ...

Const COLLECTION_PAGE_PARAMS_IS_REQUIRED

COLLECTION_PAGE_PARAMS_IS_REQUIRED: "breadcrumbs or collection is required" = 'breadcrumbs or collection is required'

Const COLLECTION_REFERENCE_OR_NAME_IS_REQUIRED_MESSAGE

COLLECTION_REFERENCE_OR_NAME_IS_REQUIRED_MESSAGE: "collections must contain either a collection referenceId or name" = 'collections must contain either a collection referenceId or name'

Const CURRENCY_CODE_IS_INVALID_MESSAGE

CURRENCY_CODE_IS_INVALID_MESSAGE: "'options.currencyCode' must be 3 characters long" = ...

Const CURRENCY_CODE_IS_REQUIRED_MESSAGE

CURRENCY_CODE_IS_REQUIRED_MESSAGE: "'options.currencyCode' is required and should be a string or remove it from your options to use the default currencyCode" = ...

Const INIT_MUST_BE_CALLED_MESSAGE

INIT_MUST_BE_CALLED_MESSAGE: "You must call 'init' before using any other method" = ...

Const ORDER_MONEY_VALUE_IS_INVALID_MESSAGE

ORDER_MONEY_VALUE_IS_INVALID_MESSAGE: "order.discount, order.subtotal or one of the items within the order has an invalid discount or price. Value must be a string" = 'order.discount, order.subtotal or one of the items within the order has an invalid discount or price. Value must be a string'

Const ORDER_REFERENCE_ID_IS_REQUIRED_MESSAGE

ORDER_REFERENCE_ID_IS_REQUIRED_MESSAGE: "referenceId is required within an order or order.items" = 'referenceId is required within an order or order.items'

Const PRODUCT_REFERENCE_ID_IS_REQUIRED_MESSAGE

PRODUCT_REFERENCE_ID_IS_REQUIRED_MESSAGE: "referenceId is required within product or product.variants" = 'referenceId is required within product or product.variants'

Const PRODUCT_SEARCH_QUERY_IS_REQUIRED

PRODUCT_SEARCH_QUERY_IS_REQUIRED: "query is required" = 'query is required'

Const VARIANT_MONEY_VALUE_IS_INVALID_MESSAGE

VARIANT_MONEY_VALUE_IS_INVALID_MESSAGE: "variants items price value must be a string" = 'variants items price value must be a string'

Functions

Const UNSUPPORTED_EVENT_TYPE_MESSAGE

  • UNSUPPORTED_EVENT_TYPE_MESSAGE(type: string): string
  • Parameters

    • type: string

    Returns string

Generated using TypeDoc