Add method to send errors to clients

Change-Id: If5a8d92fc0fa8f3b68dae758892f7ca5dec71e54