Class Error
Error
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Error : IEquatable<Error>
Constructors
Error()
Initializes a new instance of the Error class.
Declaration
public Error()
Properties
Code
code is the machine-readable error code.
Declaration
public Error.CodeEnum Code { get; set; }
Property Value
Type | Description |
---|---|
Error.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. |
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(Error)
Returns true if Error instances are equal
Declaration
public bool Equals(Error input)
Parameters
Type | Name | Description |
---|---|---|
Error | input | Instance of Error 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 |