Add model to track and send errors

need events here also. You can get it from the trace. 
(only need to do for methods and pubsub only)