AgGateway.ADAPT.ISOv4Plugin.Models.TaskDataDocument.SetError C# (CSharp) Method

SetError() private method

private SetError ( string message ) : void
message string
return void
        private void SetError(string message)
        {
            List<IError> errors = new List<IError>();

            errors.Add(new TCError
            {
                Id = string.Empty,
                Description = message,
                Source = "IsoPlugin",
                StackTrace = string.Empty
            });

            Errors = new ReadOnlyCollection<IError>(errors);
        }

Same methods

TaskDataDocument::SetError ( Exception ex ) : void