ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.260.6

This commit is contained in:
speakeasybot
2024-04-19 00:28:46 +00:00
parent 242d7d78f2
commit 2c04752d88
35 changed files with 139 additions and 87 deletions

View File

@@ -17,7 +17,7 @@ export class SDKValidationError extends Error {
this.rawValue = rawValue;
}
public override toString() {
public override toString(): string {
return `${this.message}: ${this.cause}`;
}
@@ -26,7 +26,7 @@ export class SDKValidationError extends Error {
* is a ZodError or some other recognized error type, otherwise return the
* default error message.
*/
public pretty() {
public pretty(): string {
if (this.cause instanceof z.ZodError) {
return `${this.message}\n${formatZodError(this.cause)}`;
} else {