Fauna v10 .NET/C# Driver
0.2.0-beta
Loading...
Searching...
No Matches
Fauna
Exceptions
ProtocolException.cs
Go to the documentation of this file.
1
using
System.Net;
2
3
namespace
Fauna.Exceptions
;
4
8
public
class
ProtocolException
:
FaunaException
9
{
10
public
string
ResponseBody
{
get
; init; }
11
12
public
HttpStatusCode
StatusCode
{
get
; init; }
13
14
public
ProtocolException
(
string
message, HttpStatusCode statusCode,
string
body)
15
: base(message)
16
{
17
StatusCode
= statusCode;
18
ResponseBody
= body;
19
}
20
}
Fauna.Exceptions.FaunaException
Represents the base exception class for all exceptions specific to Fauna interactions.
Definition
FaunaException.cs:9
Fauna.Exceptions.ProtocolException
Represents exceptions when a response does not match the wire protocol.
Definition
ProtocolException.cs:9
Fauna.Exceptions.ProtocolException.StatusCode
HttpStatusCode StatusCode
Definition
ProtocolException.cs:12
Fauna.Exceptions.ProtocolException.ResponseBody
string ResponseBody
Definition
ProtocolException.cs:10
Fauna.Exceptions.ProtocolException.ProtocolException
ProtocolException(string message, HttpStatusCode statusCode, string body)
Definition
ProtocolException.cs:14
Fauna.Exceptions
Definition
ExceptionFactory.cs:4
Generated by
1.12.0