MCPcopy Create free account
hub / github.com/etherspot/transaction-kit / throwError

Method throwError

lib/TransactionKit.ts:95–98  ·  view source on GitHub ↗
(message: string, context?: any)

Source from the content-addressed store, hash-verified

93 */
94 // eslint-disable-next-line @typescript-eslint/no-explicit-any
95 private throwError(message: string, context?: any): never {
96 log(`ERROR: ${message}`, context);
97 throw new Error(`EtherspotTransactionKit: ${message}`);
98 }
99
100 /**
101 * Clears the current working transaction, selected transaction, and selected batch state.

Callers 15

signMessageMethod · 0.95
transactionMethod · 0.95
nameMethod · 0.95
batchMethod · 0.95
addToBatchMethod · 0.95
removeMethod · 0.95
updateMethod · 0.95
estimateMethod · 0.95

Calls 1

logFunction · 0.90

Tested by

no test coverage detected