@coinbase/cdp-sdk
Version:
SDK for interacting with the Coinbase Developer Platform Wallet API
18 lines • 660 B
JavaScript
// This file was auto-generated by Fern from our API Definition.
import * as errors from "../../errors/index.js";
export class ServiceUnavailableError extends errors.CoinbaseApiError {
constructor(body, rawResponse) {
super({
message: "ServiceUnavailableError",
statusCode: 503,
body: body,
rawResponse: rawResponse,
});
Object.setPrototypeOf(this, new.target.prototype);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
this.name = this.constructor.name;
}
}
//# sourceMappingURL=ServiceUnavailableError.js.map