Class ResponseException
The exception that is thrown when a response is received from Gremlin Server that indicates that an error occurred.
Inheritance
System.Object
System.Exception
ResponseException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Driver.Exceptions
Assembly: cs.temp.dll.dll
Syntax
public class ResponseException : Exception, ISerializable, _Exception
Constructors
ResponseException(ResponseStatusCode, IReadOnlyDictionary<String, Object>, String)
Initializes a new instance of the ResponseException class.
Declaration
public ResponseException(ResponseStatusCode statusCode, IReadOnlyDictionary<string, object> statusAttributes, string message)
Parameters
Type | Name | Description |
---|---|---|
ResponseStatusCode | statusCode | The status code returned by the server. |
IReadOnlyDictionary<System.String, System.Object> | statusAttributes | The status attributes from the gremlin response. |
System.String | message | The error message string. |
Properties
StatusAttributes
Gets the status attributes from the gremlin response
Declaration
public IReadOnlyDictionary<string, object> StatusAttributes { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, System.Object> |
StatusCode
Gets the status code returned from the server.
Declaration
public ResponseStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
ResponseStatusCode |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception