File: Internal\Http3\Http3StreamErrorException.cs | Web Access |
Project: src\src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj (Microsoft.AspNetCore.Server.Kestrel.Core) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3; internal sealed class Http3StreamErrorException : Exception { public Http3StreamErrorException(string message, Http3ErrorCode errorCode) : base($"HTTP/3 stream error ({errorCode}): {message}") { ErrorCode = errorCode; } public Http3ErrorCode ErrorCode { get; } } |