mapSoapHttpError
mapSoapHttpError(
status,body,retryAfterMs?):LoncaError
Defined in: sdks/n11/src/soap/errors.ts:107
Map a non-2xx SOAP response. body is the raw response text (the shared
requester falls back to text when the body is not JSON).
- a SOAP
Faultwhosefaultcodeis a client fault →ValidationError; - any other fault, or an unparsable body, follows the HTTP status:
401/403→AuthError,429→RateLimitError,5xx→ServerError(retried — every SOAP call the SDK makes is a read), other4xx→ValidationError.
Fault strings go to issues, never to message.
Parameters
Section titled “Parameters”status
Section titled “status”number
unknown
retryAfterMs?
Section titled “retryAfterMs?”number
Returns
Section titled “Returns”LoncaError
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.