OpenTAP 9.27
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.27 API built Wed Nov 27 2024 13:14:46