-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌿 Fern Regeneration -- June 17, 2024 (#177)
* SDK regeneration * Fixes --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Billy Trend <[email protected]>
- Loading branch information
1 parent
15dbda8
commit 30ac111
Showing
31 changed files
with
2,519 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../errors/index"; | ||
import * as Cohere from "../index"; | ||
|
||
export class ClientClosedRequestError extends errors.CohereError { | ||
constructor(body: Cohere.ClientClosedRequestErrorBody) { | ||
super({ | ||
message: "ClientClosedRequestError", | ||
statusCode: 499, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, ClientClosedRequestError.prototype); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../errors/index"; | ||
import * as Cohere from "../index"; | ||
|
||
export class GatewayTimeoutError extends errors.CohereError { | ||
constructor(body: Cohere.GatewayTimeoutErrorBody) { | ||
super({ | ||
message: "GatewayTimeoutError", | ||
statusCode: 504, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, GatewayTimeoutError.prototype); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../errors/index"; | ||
import * as Cohere from "../index"; | ||
|
||
export class NotImplementedError extends errors.CohereError { | ||
constructor(body: Cohere.NotImplementedErrorBody) { | ||
super({ | ||
message: "NotImplementedError", | ||
statusCode: 501, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, NotImplementedError.prototype); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../errors/index"; | ||
import * as Cohere from "../index"; | ||
|
||
export class UnprocessableEntityError extends errors.CohereError { | ||
constructor(body: Cohere.UnprocessableEntityErrorBody) { | ||
super({ | ||
message: "UnprocessableEntityError", | ||
statusCode: 422, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, UnprocessableEntityError.prototype); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
export * from "./TooManyRequestsError"; | ||
export * from "./BadRequestError"; | ||
export * from "./InternalServerError"; | ||
export * from "./NotFoundError"; | ||
export * from "./ForbiddenError"; | ||
export * from "./UnauthorizedError"; | ||
export * from "./ForbiddenError"; | ||
export * from "./NotFoundError"; | ||
export * from "./UnprocessableEntityError"; | ||
export * from "./TooManyRequestsError"; | ||
export * from "./ClientClosedRequestError"; | ||
export * from "./InternalServerError"; | ||
export * from "./NotImplementedError"; | ||
export * from "./ServiceUnavailableError"; | ||
export * from "./GatewayTimeoutError"; |
Oops, something went wrong.