DiceException.ErrorCode Property

From DiceRoller Documentation

Gets the error that this exception was thrown for.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public DiceErrorCode ErrorCode { get; protected set; }

Property Value

Type: Dice.DiceErrorCode

The error code corresponding to the reason this exception was thrown.