Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in VertexAI errors docs #8346

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs-devsite/vertexai-preview.errordetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -37,7 +37,7 @@ export interface ErrorDetails

## ErrorDetails.domain

The domain where the error occured.
The domain where the error occurred.

<b>Signature:</b>

Expand All @@ -47,7 +47,7 @@ domain?: string;

## ErrorDetails.metadata

Additonal metadata about the error.
Additional metadata about the error.

<b>Signature:</b>

Expand Down
4 changes: 2 additions & 2 deletions packages/vertexai/src/types/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>;

/** Any other relevant information about the error. */
Expand Down
Loading