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