@hashgraphonline/standards-sdk
Version:
The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.
33 lines (32 loc) • 741 B
JavaScript
class PayloadSizeError extends Error {
constructor(message, payloadSize) {
super(message);
this.payloadSize = payloadSize;
this.name = "PayloadSizeError";
}
}
class AccountCreationError extends Error {
constructor(message) {
super(message);
this.name = "AccountCreationError";
}
}
class TopicCreationError extends Error {
constructor(message) {
super(message);
this.name = "TopicCreationError";
}
}
class ConnectionConfirmationError extends Error {
constructor(message) {
super(message);
this.name = "ConnectionConfirmationError";
}
}
export {
AccountCreationError,
ConnectionConfirmationError,
PayloadSizeError,
TopicCreationError
};
//# sourceMappingURL=standards-sdk.es6.js.map