Windows-powershell / PowerShell-master /src /Microsoft.PowerShell.Commands.Utility /commands /utility /JsonSchemaReferenceResolutionException.cs
Download PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/JsonSchemaReferenceResolutionException.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 902 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/JsonSchemaReferenceResolutionException.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/JsonSchemaReferenceResolutionException.cs
-
curl -L -o JsonSchemaReferenceResolutionException.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/JsonSchemaReferenceResolutionException.cs
902 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| namespace Microsoft.PowerShell.Commands; | |
| /// <summary> | |
| /// Thrown during evaluation of <see cref="TestJsonCommand"/> when an attempt | |
| /// to resolve a <code>$ref</code> or <code>$dynamicRef</code> fails. | |
| /// </summary> | |
| internal sealed class JsonSchemaReferenceResolutionException : Exception | |
| { | |
| /// <summary> | |
| /// Initializes a new instance of the <see cref="JsonSchemaReferenceResolutionException"/> class. | |
| /// </summary> | |
| /// <param name="innerException"> | |
| /// The exception that is the cause of the current exception, or a null reference | |
| /// (<code>Nothing</code> in Visual Basic) if no inner exception is specified. | |
| /// </param> | |
| public JsonSchemaReferenceResolutionException(Exception innerException) | |
| : base(message: null, innerException) | |
| { | |
| } | |
| } | |