Skip to content

Commit e6f54e6

Browse files
error.ts
1 parent 8da0826 commit e6f54e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ai/lib/types/error.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ export interface CustomErrorData {
5050
/** HTTP status text of the error response. */
5151
statusText?: string;
5252

53-
/** Response from a <code>{@link GenerateContentRequest}</code> */
53+
/** Response from a {@link GenerateContentRequest} */
5454
response?: GenerateContentResponse;
5555

5656
/** Optional additional details about the error. */
5757
errorDetails?: ErrorDetails[];
5858
}
5959

6060
/**
61-
* Standardized error codes that <code>{@link VertexAIError}</code> can have.
61+
* Standardized error codes that {@link AIError} can have.
6262
*
6363
* @public
6464
*/
@@ -99,6 +99,6 @@ export const enum AIErrorCode {
9999
/** An error occurred while parsing. */
100100
PARSE_FAILED = 'parse-failed',
101101

102-
/** An error occured due an attempt to use an unsupported feature. */
102+
/** An error occurred due an attempt to use an unsupported feature. */
103103
UNSUPPORTED = 'unsupported',
104104
}

0 commit comments

Comments
 (0)