Notify errors to the main application