UNPKG

@wmfs/statebox

Version:

Orchestrate Node functions using Amazon States Language

13 lines (11 loc) 200 B
'use strict' module.exports = class Exception { run (event, context) { const obj = { } try { obj.missingFn() } catch (err) { context.sendTaskFailure(err) } } // run }