Skip to content

Instantly share code, notes, and snippets.

@frivas
Created October 23, 2018 13:02
Show Gist options
  • Save frivas/8791cbbf10ec051afd79aea52c430f75 to your computer and use it in GitHub Desktop.
Save frivas/8791cbbf10ec051afd79aea52c430f75 to your computer and use it in GitHub Desktop.
AllExceptionsHandler. Medium Article. Creating an Alexa Skill Using Python
class AllExceptionsHandler(AbstractExceptionHandler):
def can_handle(self, handler_input, exception):
return True
def handle(self, handler_input, exception):
speechText = "Lo siento, no he comprendido lo que me has dicho. Di, ayuda, para obtener más información sobre cómo jugar."
return handler_input.response_builder.speak(speechText).response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment