You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/protobuf-net.Grpc/Configuration/SimpleRpcExceptionsInterceptor.cs
+54-33Lines changed: 54 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -2,26 +2,25 @@
2
2
usingGrpc.Core.Interceptors;
3
3
usingSystem;
4
4
usingSystem.IO;
5
-
usingSystem.Runtime.CompilerServices;
6
5
usingSystem.Security;
7
6
usingSystem.Threading.Tasks;
8
7
9
8
namespaceProtoBuf.Grpc.Configuration
10
9
{
11
10
/// <summary>
12
-
/// Indicates that a service or method should use simplified exception handling - which means that all server exceptions are treated as <see cref="RpcException"/>; this
13
-
/// will expose the <see cref="Exception.Message"/> to the caller (and the type may be interpreted as a <see cref="StatusCode"/> when possible), which should only be
14
-
/// done with caution as this may present security implications. Additional exception metadata (<see cref="Exception.Data"/>, <see cref="Exception.InnerException"/>,
15
-
/// <see cref="Exception.StackTrace"/>, etc) is not propagated. The exception is still exposed at the client as an <see cref="RpcException"/>.
11
+
/// A base interceptor that handles all server-side exceptions.
/// Indicates that a service or method should use simplified exception handling - which means that all server exceptions are treated as <see cref="RpcException"/>; this
80
+
/// will expose the <see cref="Exception.Message"/> to the caller (and the type may be interpreted as a <see cref="StatusCode"/> when possible), which should only be
81
+
/// done with caution as this may present security implications. Additional exception metadata (<see cref="Exception.Data"/>, <see cref="Exception.InnerException"/>,
82
+
/// <see cref="Exception.StackTrace"/>, etc) is not propagated. The exception is still exposed at the client as an <see cref="RpcException"/>.
0 commit comments