Sha256: d75eed0c56bce6a58bf7de32133959be26db94588863cfa1e898821f28bec14e
Contents?: true
Size: 201 Bytes
Versions: 26
Compression:
Stored size: 201 Bytes
Contents
function tryCatch(fn, onException) { try { const result = fn(); return result; } catch (error) { onException?.(error); } } export { tryCatch }; //# sourceMappingURL=tryCatch.mjs.map
Version data entries
26 entries across 26 versions & 1 rubygems