handle()

in alexa/lambda/lib/functions/aws-sap-alexa-scp-solo/index.js [276:284]


    handle(handlerInput, error) {
        console.log(`Error handled: ${error.stack}`);
        const speakOutput = `Sorry, I had trouble doing what you asked. Please try again.`;

        return handlerInput.responseBuilder
            .speak(speakOutput)
            .reprompt(speakOutput)
            .getResponse();
    }