Add on_error event callback
Add on_invite handler