Table of Contents

Constructor ExceptionHandlerFailedException

Namespace
Ploch.CommandLine.Spectre.Commands
Assembly
Ploch.CommandLine.Spectre.dll

ExceptionHandlerFailedException()

Initializes a new instance of the ExceptionHandlerFailedException class.

public ExceptionHandlerFailedException()

ExceptionHandlerFailedException(string)

Initializes a new instance of the ExceptionHandlerFailedException class with a message.

public ExceptionHandlerFailedException(string message)

Parameters

message string

The message that describes the error.

ExceptionHandlerFailedException(string, Exception?)

Initializes a new instance of the ExceptionHandlerFailedException class with a message and the exception that caused it.

public ExceptionHandlerFailedException(string message, Exception? innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception the handler threw.

ExceptionHandlerFailedException(Exception, Exception)

Initializes a new instance of the ExceptionHandlerFailedException class for a handler that threw handlerException while handling original.

public ExceptionHandlerFailedException(Exception original, Exception handlerException)

Parameters

original Exception

The exception the handler was asked to handle.

handlerException Exception

The exception the handler threw.