From 544e82af3391a4296381facf2fe3a9a005898fb2 Mon Sep 17 00:00:00 2001 From: crytek1012 Date: Thu, 12 Jun 2025 12:34:01 +0300 Subject: [PATCH] docs: update param wording for consistency --- packages/rest/src/lib/errors/DiscordAPIError.ts | 4 ++-- packages/rest/src/lib/errors/HTTPError.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rest/src/lib/errors/DiscordAPIError.ts b/packages/rest/src/lib/errors/DiscordAPIError.ts index e78fee06d170..fef94d9d2611 100644 --- a/packages/rest/src/lib/errors/DiscordAPIError.ts +++ b/packages/rest/src/lib/errors/DiscordAPIError.ts @@ -49,8 +49,8 @@ export class DiscordAPIError extends Error { * @param rawError - The error reported by Discord * @param code - The error code reported by Discord * @param status - The status code of the response - * @param method - The method of the request that erred - * @param url - The url of the request that erred + * @param method - The method of the request that errored + * @param url - The url of the request that errored * @param bodyData - The unparsed data for the request that errored */ public constructor( diff --git a/packages/rest/src/lib/errors/HTTPError.ts b/packages/rest/src/lib/errors/HTTPError.ts index 6c9e51a1a5f1..cfbfeb112a24 100644 --- a/packages/rest/src/lib/errors/HTTPError.ts +++ b/packages/rest/src/lib/errors/HTTPError.ts @@ -12,8 +12,8 @@ export class HTTPError extends Error { /** * @param status - The status code of the response * @param statusText - The status text of the response - * @param method - The method of the request that erred - * @param url - The url of the request that erred + * @param method - The method of the request that errored + * @param url - The url of the request that errored * @param bodyData - The unparsed data for the request that errored */ public constructor(