OpenTAP 9.25
API Reference
Public Member Functions | Properties | List of all members
OpenTap.Cli.ExitCodeException Class Reference

Thrown from OpenTap.Cli.ICliAction.Execute to set a specific exit code More...

Inherits Exception.

Public Member Functions

 ExitCodeException (int exitcode, string message)
 Instantiates a new ExitCodeException More...
 

Properties

int ExitCode [get]
 Exit code to set when ending the process.
 

Detailed Description

Thrown from OpenTap.Cli.ICliAction.Execute to set a specific exit code

Constructor & Destructor Documentation

◆ ExitCodeException()

OpenTap.Cli.ExitCodeException.ExitCodeException ( int  exitcode,
string  message 
)
inline

Instantiates a new ExitCodeException

Parameters
exitcodeExit code to set when ending the process
messageException message to print in the log

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:25