Struct ActiveError
Represents an active error.
Inherited Members
Namespace: SI.PIXL.Client.Structs.CommandResponse
Assembly: SI.PIXL.Client.dll
Syntax
public struct ActiveError
Constructors
ActiveError(string, string, bool)
Initialises a new instance of the ActiveError struct.
Declaration
public ActiveError(string description, string code, bool hasActiveError)
Parameters
| Type | Name | Description |
|---|---|---|
| string | description | A description of the error. |
| string | code | A code detailing the error. |
| bool | hasActiveError | If there is an active error. |
Properties
Code
Get the code detailing the error.
Declaration
public string Code { get; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Get a description of the error.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
HasActiveError
Get if there is an active error.
Declaration
public bool HasActiveError { get; }
Property Value
| Type | Description |
|---|---|
| bool |