Skip to content

Commit 766a53e

Browse files
authored
Fix typos in VertexAI errors docs (#8346)
1 parent c60aac1 commit 766a53e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs-devsite/vertexai-preview.errordetails.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export interface ErrorDetails
2323
| Property | Type | Description |
2424
| --- | --- | --- |
2525
| ["@type"](./vertexai-preview.errordetails.md#errordetails"@type") | string | |
26-
| [domain](./vertexai-preview.errordetails.md#errordetailsdomain) | string | The domain where the error occured. |
27-
| [metadata](./vertexai-preview.errordetails.md#errordetailsmetadata) | Record<string, unknown> | Additonal metadata about the error. |
26+
| [domain](./vertexai-preview.errordetails.md#errordetailsdomain) | string | The domain where the error occurred. |
27+
| [metadata](./vertexai-preview.errordetails.md#errordetailsmetadata) | Record<string, unknown> | Additional metadata about the error. |
2828
| [reason](./vertexai-preview.errordetails.md#errordetailsreason) | string | The reason for the error. |
2929

3030
## ErrorDetails."@type"
@@ -37,7 +37,7 @@ export interface ErrorDetails
3737

3838
## ErrorDetails.domain
3939

40-
The domain where the error occured.
40+
The domain where the error occurred.
4141

4242
<b>Signature:</b>
4343

@@ -47,7 +47,7 @@ domain?: string;
4747

4848
## ErrorDetails.metadata
4949

50-
Additonal metadata about the error.
50+
Additional metadata about the error.
5151

5252
<b>Signature:</b>
5353

packages/vertexai/src/types/error.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ export interface ErrorDetails {
2828
/** The reason for the error. */
2929
reason?: string;
3030

31-
/** The domain where the error occured. */
31+
/** The domain where the error occurred. */
3232
domain?: string;
3333

34-
/** Additonal metadata about the error. */
34+
/** Additional metadata about the error. */
3535
metadata?: Record<string, unknown>;
3636

3737
/** Any other relevant information about the error. */

0 commit comments

Comments
 (0)