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
messagestringThe 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
messagestringThe message that describes the error.
innerExceptionExceptionThe 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)