Class ClientError
- Namespace
- Fluxzy
- Assembly
- Fluxzy.Core.dll
Holds information about a client error
[MessagePackObject(false)]
public class ClientError
- Inheritance
-
ClientError
- Inherited Members
Constructors
ClientError(int, string)
Create a new instance from error code and message
public ClientError(int errorCode, string message)
Parameters
Properties
ErrorCode
OS error code
[Key(0)]
public int ErrorCode { get; }
Property Value
ExceptionMessage
Exception message
[Key(2)]
public string? ExceptionMessage { get; set; }
Property Value
Message
Friendly error message
[Key(1)]
public string Message { get; }
Property Value
Methods
Equals(ClientError)
protected bool Equals(ClientError other)
Parameters
other
ClientError
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.