From 1777f5360022a49f796db4c843eb10ce150a29ed Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 3 Oct 2026 22:53:51 +0300 Subject: [PATCH] docs: re-attach the orphaned _createRateLimitError JSDoc --- src/api/api.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/api/api.ts b/src/api/api.ts index d1a968b73..35165d0cd 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -1951,14 +1951,6 @@ export class OpenSeaAPI { return undefined } - /** - * Creates a rate limit error with status code and retry-after information. - * This is async because it attempts to parse the response body. If the body - * is malformed JSON, responseBody will be undefined (intentional — the error - * itself is more important than the body). - * @param response The HTTP response object from the API - * @returns An enhanced Error object with statusCode, retryAfter and responseBody properties - */ /** * Builds an error carrying the HTTP status. Every non-OK response goes through here or through * {@link _createRateLimitError}, so `statusCode` is present on every API error rather than only @@ -1981,6 +1973,14 @@ export class OpenSeaAPI { return error } + /** + * Creates a rate limit error with status code and retry-after information. + * This is async because it attempts to parse the response body. If the body + * is malformed JSON, responseBody will be undefined (intentional — the error + * itself is more important than the body). + * @param response The HTTP response object from the API + * @returns An enhanced Error object with statusCode, retryAfter and responseBody properties + */ private async _createRateLimitError( response: Response, ): Promise {