UNPKG

@docusign/iam-sdk

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.

16 lines 583 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ /** The base class for all HTTP error responses */ export class IamClientError extends Error { constructor(message, httpMeta) { super(message); this.statusCode = httpMeta.response.status; this.body = httpMeta.body; this.headers = httpMeta.response.headers; this.contentType = httpMeta.response.headers.get("content-type") || ""; this.rawResponse = httpMeta.response; this.name = "IamClientError"; } } //# sourceMappingURL=iamclienterror.js.map