Hello Madhusudan,
is your coding you showed complete? In the log it is described that "evt.message is not a function" which means that it was tried to use evt.mesage as function (evt.message()), although evt.message is just a property. Can you try for test reasons to print out the evt object as a JSON string (JSON.stringify(evt)) within your errorMsg function.
In your errorMsg function there are two additional errors. You wrote evt.responce instead of evt.response two time.
Regards, Florian