9 references to Except
Microsoft.ML.Core (9)
ComponentModel\ComponentCatalog.cs (1)
1139throw env.Except($"Unable to locate an extension for the contract '{contractName}'. Ensure you have called {nameof(ComponentCatalog)}.{nameof(ComponentCatalog.RegisterAssembly)} with the Assembly that contains a class decorated with a '{attributeType.FullName}'.");
Data\AnnotationUtils.cs (1)
123public static Exception ExceptGetAnnotation(this IExceptionContext ctx) => ctx.Except("Invalid call to GetAnnotation");
Data\IFileHandle.cs (4)
154throw _ectx.Except("SimpleFileHandle has already been disposed"); 164throw _ectx.Except("CreateWriteStream called multiple times on SimpleFileHandle"); 180throw _ectx.Except("SimpleFileHandle hasn't been written yet"); 185throw _ectx.Except("Write stream for SimpleFileHandle hasn't been disposed");
Data\ProgressReporter.cs (1)
406throw _ectx.Except("Event sent after the calculation lifetime expired.");
Utilities\Contracts.cs (1)
496throw Except(ctx, msg);
Utilities\ResourceManagerUtils.cs (1)
287return ch.Except("Download timed out");