Skip to content

LoncaErrorIssue

Defined in: packages/core/src/errors.ts:16

A single normalized, field-level error detail extracted from a marketplace’s raw error body. Each SDK maps its own (inconsistent) error JSON into this shape so consumers don’t have to sniff marketplace-specific payloads.

optional code?: string

Defined in: packages/core/src/errors.ts:20

Marketplace-specific error code, when present.


optional field?: string

Defined in: packages/core/src/errors.ts:18

The offending field/path, when the marketplace reports one.


message: string

Defined in: packages/core/src/errors.ts:22

Human-readable message — always present.

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.