Table of Contents

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

errorCode int
message string

Properties

ErrorCode

OS error code

[Key(0)]
public int ErrorCode { get; }

Property Value

int

ExceptionMessage

Exception message

[Key(2)]
public string? ExceptionMessage { get; set; }

Property Value

string

Message

Friendly error message

[Key(1)]
public string Message { get; }

Property Value

string

Methods

Equals(ClientError)

protected bool Equals(ClientError other)

Parameters

other ClientError

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.