Represents the base exception class for all exceptions specific to Fauna interactions.
Represents exceptions when a response does not match the wire protocol.
HttpStatusCode StatusCode
The HTTP status code associated with the ProtocolException.
string ResponseBody
The response body that caused the ProtocolException to be thrown.
ProtocolException(string message, HttpStatusCode statusCode, string body)
Initializes a new instance of the ProtocolException class.