2 references to Error
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSGeneratorFactory.cs (2)
113
case KnownManagedType.Exception when jsType == JSTypeFlags.
Error
: return ResolvedGenerator.Resolved(new PrimitiveJSGenerator(info, context, MarshalerType.Exception));
185
case KnownManagedType.Task when jsType == JSTypeFlags.Promise && jsTypeArguments.Length == 1 && argumentTypes[0] == KnownManagedType.Exception && jsTypeArguments[0] == JSTypeFlags.
Error
: return ResolvedGenerator.Resolved(new TaskJSGenerator(info, context, MarshalerType.Exception));