Table of Contents

Constructor OperationFailedException

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

OperationFailedException()

Initializes a new instance of the OperationFailedException class.

public OperationFailedException()

OperationFailedException(string)

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

public OperationFailedException(string message)

Parameters

message string

The message that describes the error.

OperationFailedException(string, Exception?)

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

public OperationFailedException(string message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.