guard
@iota/wallet-standard / guard
Function: guard()
guard(
callback):void
Defined in: node_modules/.pnpm/@wallet-standard+wallet@1.0.1/node_modules/@wallet-standard/wallet/lib/types/util.d.ts:86
Call a callback function, catch an error if it throws, and log the error without rethrowing.
Parameters
callback
() => void
Function to call.
Returns
void