Table of Contents

Class InvalidStateException

Namespace
WhalesSecret.TradeScriptLib.Exceptions
Assembly
WhalesSecret.TradeScriptLib.dll

Exception for cases when an operation is not valid for the current state of the object.

public class InvalidStateException : ScriptApiException, ISerializable
Inheritance
InvalidStateException
Implements
Inherited Members
Extension Methods

Constructors

InvalidStateException()

Initializes a new instance of the InvalidStateException class.

InvalidStateException(string)

Initializes a new instance of the InvalidStateException class with a specified error message.

InvalidStateException(string, Exception?)

Initializes a new instance of the InvalidStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.