@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
34 lines • 1.04 kB
TypeScript
import * as z from "zod/v3";
import { IamClientError } from "./iamclienterror.js";
/**
* The error response object for the Workspaces API
*/
export type ErrorDetailsData = {
/**
* A brief message describing the error condition
*/
message?: string | null | undefined;
/**
* A standardized code that generalizes the specific error
*/
errorCode?: string | null | undefined;
};
/**
* The error response object for the Workspaces API
*/
export declare class ErrorDetails extends IamClientError {
/**
* A standardized code that generalizes the specific error
*/
errorCode?: string | null | undefined;
/** The original data that was passed to this error instance. */
data$: ErrorDetailsData;
constructor(err: ErrorDetailsData, httpMeta: {
response: Response;
request: Request;
body: string;
});
}
/** @internal */
export declare const ErrorDetails$inboundSchema: z.ZodType<ErrorDetails, z.ZodTypeDef, unknown>;
//# sourceMappingURL=errordetails.d.ts.map