Class LineProtocolError
LineProtocolError
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class LineProtocolError : IEquatable<LineProtocolError>
Constructors
LineProtocolError()
Initializes a new instance of the LineProtocolError class.
Declaration
public LineProtocolError()
Properties
Code
Code is the machine-readable error code.
Declaration
public LineProtocolError.CodeEnum Code { get; set; }
Property Value
Type | Description |
---|---|
LineProtocolError.CodeEnum | Code is the machine-readable error code. |
Err
Stack of errors that occurred during processing of the request. Useful for debugging.
Declaration
public string Err { get; }
Property Value
Type | Description |
---|---|
System.String | Stack of errors that occurred during processing of the request. Useful for debugging. |
Line
First line in the request body that contains malformed data.
Declaration
public int? Line { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | First line in the request body that contains malformed data. |
Message
Human-readable message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | Human-readable message. |
Op
Describes the logical code operation when the error occurred. Useful for debugging.
Declaration
public string Op { get; }
Property Value
Type | Description |
---|---|
System.String | Describes the logical code operation when the error occurred. Useful for debugging. |
Methods
Equals(LineProtocolError)
Returns true if LineProtocolError instances are equal
Declaration
public bool Equals(LineProtocolError input)
Parameters
Type | Name | Description |
---|---|---|
LineProtocolError | input | Instance of LineProtocolError to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |