OpenTAP 9.34
API Reference
OpenTap.Cli.ExitCodeException Class Reference

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

Public Member Functions

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

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.34 API built Wed Jul 1 2026 09:21:15