Open.Core.PackageBase.SetDownloadError C# (CSharp) Method

SetDownloadError() protected method

Logs the given error message and assigns it to an Exception held within the 'LoadError' property.
protected SetDownloadError ( string message ) : void
message string The error message.
return void
        protected void SetDownloadError(string message)
        {
            if (LogErrors) Log.Error(message);
            LoadError = new Exception(message);
        }
        #endregion