7 references to ExceptParam
Microsoft.ML.CpuMath (1)
src\Microsoft.ML.Core\Utilities\Contracts.cs (1)
537
throw
ExceptParam
(paramName, msg);
Microsoft.ML.Data (6)
Data\DataViewTypeManager.cs (6)
78
throw Contracts.
ExceptParam
(nameof(type), $"The raw type {type} with attributes {typeAttributes} is not registered with a DataView type.");
152
throw Contracts.
ExceptParam
(nameof(type), $"Type {type} has too many attributes.");
159
throw Contracts.
ExceptParam
(nameof(type), $"Type {type} has an attribute that is not of DataViewTypeAttribute.");
181
throw Contracts.
ExceptParam
(nameof(type), $"Type {type} has been registered as ML.NET's default supported type, " +
197
throw Contracts.
ExceptParam
(nameof(type), $"Repeated type register. The raw type {type} " +
207
throw Contracts.
ExceptParam
(nameof(dataViewType), $"Repeated type register. The DataView type {dataViewType} " +