Class ErrorState
Represents the error state of the board.
public class ErrorState : State, IEquatable<State>
- Inheritance
-
ErrorState
- Implements
- Inherited Members
Constructors
ErrorState(string, Func<Exception>)
Initializes a new instance of the ErrorState class.
public ErrorState(string key, Func<Exception> exceptionBuilder)
Parameters
key
stringThe unique key.
exceptionBuilder
Func<Exception>Builder for the exception thrown with Throw().
Methods
Throw()
Throws an exception which is representative for this state.
public void Throw()