Class TransformResults
Describes the results of a transformation, including errors and warnings encountered.
Inheritance
TransformResults
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
public class TransformResults
Fields
Declaration
protected Dictionary<object, List<TransformError>> errorMap
Field Value
Declaration
public ICodeTransform Transform
Field Value
Properties
Declaration
public int ErrorCount { get; }
Property Value
Declaration
public IReadOnlyList<TransformError> ErrorsAndWarnings { get; }
Property Value
Declaration
public bool IsSuccess { get; }
Property Value
Declaration
public int WarningCount { get; }
Property Value
Methods
Declaration
public List<TransformError> GetErrorsForElement(object inputElement)
Parameters
Type |
Name |
Description |
Object |
inputElement |
|
Returns
Declaration
Returns
Declaration
public void ThrowIfErrors(string msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Declaration
public void ThrowIfErrors(string msg, bool treatWarningsAsErrors)
Parameters
Declaration
public override string ToString()
Returns
Overrides
Declaration
protected void TransformError(string msg, bool isWarning, Exception exception, object inputElement, object displayTag)
Parameters