Shopee SDK API Reference - v2.14.1
    Preparing search index...

    Class ShopeeApiError

    The Shopee API answered with a JSON error payload (error field set).

    Hierarchy

    • Error
      • ShopeeApiError
    Index
    • Parameters

      • status: number
      • data: unknown
      • Optionaloptions: { cause?: unknown }

      Returns ShopeeApiError

    apiMessage?: string

    Human readable message returned by Shopee.

    cause?: unknown
    data: unknown
    error?: string

    Shopee error code from the response, e.g. error_param or error_rate_limit.

    message: string
    name: string
    requestId?: string

    Shopee request id, useful when contacting Shopee support.

    stack?: string
    status: number
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number
    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void