throw errors back to the application