Sha256: 255d0bb0fe58b4bde517fe595fd46408d477dde8da3d20728af1bf094c303102
Contents?: true
Size: 357 Bytes
Versions: 49
Compression:
Stored size: 357 Bytes
Contents
import { errorObject } from './errorObject'; let tryCatchTarget; function tryCatcher() { try { return tryCatchTarget.apply(this, arguments); } catch (e) { errorObject.e = e; return errorObject; } } export function tryCatch(fn) { tryCatchTarget = fn; return tryCatcher; } ; //# sourceMappingURL=tryCatch.js.map
Version data entries
49 entries across 49 versions & 4 rubygems