Received this during playback on Amazon Echo Show (2nd Gen).
Any ideas on how to resolve this error?
My first impulse was to add the Unhandled()
Intent.
No dice.
I have included more details on the error and my Unhandled()
function code.
Error:
Error -----------------------------------------------------------------
Code:
ERR_NO_ROUTE
Message:
Could not find the route "ON_ERROR" in your handler function.
Stack:
Error: Could not find the route "ON_ERROR" in your handler function.
at Function.applyHandle (/home/pat/Projects/.../src/plugins/Handler.ts:163:15)
at handle (/home/pat/Projects/.../node_modules/jovo-core/src/plugins/Handler.ts:239:19)
at Middleware.run (/home/pat/Projects/.../node_modules/jovo-core/src/core/Middleware.ts:85:11)
at App.handle (/home/pat/Projects/.../node_modules/jovo-core/src/core/BaseApp.ts:274:7)
at App.handle (/home/pat/Projects/.../node_modules/jovo-framework/src/App.ts:332:5)
at /home/pat/Projects/.../src/index.js:20:9
Module:
jovo-framework
----------------------------------------------------------------------
My Unhandled() Function
Unhandled() {
this.toStatelessIntent("LAUNCH");
},