blob: 8811c3a7c75513382f805a88b8c20623aab79d4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System;
namespace Google.GRPC.Core
{
public class RpcException : Exception
{
private readonly Status status;
public RpcException(Status status)
{
this.status = status;
}
public RpcException(Status status, string message) : base(message)
{
this.status = status;
}
public Status Status {
get
{
return status;
}
}
}
}
|