@bamsfaas/sequence-action
v1.0.0
Published
Default error handling for an openwhisk action with the serverless framework
Downloads
4
Readme
Example
const {action, buildError} = require('openwhisk-sequence-action')
module.exports.<name> = action((params, locals) => {
const {name} = params
if (!name) return buildError(400, 'Missing name parameter')
return <result>
})