From 766a53ea97f8af432f5cc5fd0214989cbbd0391e Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Tue, 2 Jul 2024 15:29:06 -0400 Subject: [PATCH] Fix typos in VertexAI errors docs (#8346) --- docs-devsite/vertexai-preview.errordetails.md | 8 ++++---- packages/vertexai/src/types/error.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs-devsite/vertexai-preview.errordetails.md b/docs-devsite/vertexai-preview.errordetails.md index ad080a09595..45e84a618ab 100644 --- a/docs-devsite/vertexai-preview.errordetails.md +++ b/docs-devsite/vertexai-preview.errordetails.md @@ -23,8 +23,8 @@ export interface ErrorDetails | Property | Type | Description | | --- | --- | --- | | ["@type"](./vertexai-preview.errordetails.md#errordetails"@type") | string | | -| [domain](./vertexai-preview.errordetails.md#errordetailsdomain) | string | The domain where the error occured. | -| [metadata](./vertexai-preview.errordetails.md#errordetailsmetadata) | Record<string, unknown> | Additonal metadata about the error. | +| [domain](./vertexai-preview.errordetails.md#errordetailsdomain) | string | The domain where the error occurred. | +| [metadata](./vertexai-preview.errordetails.md#errordetailsmetadata) | Record<string, unknown> | Additional metadata about the error. | | [reason](./vertexai-preview.errordetails.md#errordetailsreason) | string | The reason for the error. | ## ErrorDetails."@type" @@ -37,7 +37,7 @@ export interface ErrorDetails ## ErrorDetails.domain -The domain where the error occured. +The domain where the error occurred. Signature: @@ -47,7 +47,7 @@ domain?: string; ## ErrorDetails.metadata -Additonal metadata about the error. +Additional metadata about the error. Signature: diff --git a/packages/vertexai/src/types/error.ts b/packages/vertexai/src/types/error.ts index ecc30de5a3e..5ba594013c2 100644 --- a/packages/vertexai/src/types/error.ts +++ b/packages/vertexai/src/types/error.ts @@ -28,10 +28,10 @@ export interface ErrorDetails { /** The reason for the error. */ reason?: string; - /** The domain where the error occured. */ + /** The domain where the error occurred. */ domain?: string; - /** Additonal metadata about the error. */ + /** Additional metadata about the error. */ metadata?: Record; /** Any other relevant information about the error. */