UNPKG

@coinbase/cdp-sdk

Version:

SDK for interacting with the Coinbase Developer Platform Wallet API

19 lines (15 loc) 547 B
// This file was auto-generated by Fern from our API Definition. export class CoinbaseApiTimeoutError extends Error { public readonly cause?: unknown; constructor(message: string, opts?: { cause?: unknown }) { super(message); Object.setPrototypeOf(this, new.target.prototype); if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } this.name = this.constructor.name; if (opts?.cause != null) { this.cause = opts.cause; } } }