@stellar/stellar-sdk
Version:
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
14 lines (13 loc) • 521 B
TypeScript
import { NetworkError } from "./network.js";
/**
* BadResponseError is raised when a response from a
* {@link Horizon | Horizon} or {@link Federation | Federation}
* server is invalid in some way. For example, a federation response may exceed
* the maximum allowed size, or a transaction submission may have failed with
* Horizon.
*
* @param message - Human-readable error message.
* @param response - Response details, received from the server.
*/
export declare class BadResponseError extends NetworkError {
}