(ctx)
| 28 | * @returns {*} the Lambda function response |
| 29 | */ |
| 30 | export function response(ctx) { |
| 31 | const { result, error } = ctx; |
| 32 | if (error) { |
| 33 | util.error(error.message, error.type, result); |
| 34 | } |
| 35 | return result; |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected