CakeException.

CakeException(int, string) Constructor

Summary

Initializes a new instance of the CakeException class.
Namespace
Cake.Core
Containing Type
CakeException

Syntax

public CakeException(int exitCode, string message)

Parameters

Name Type Description
exitCode int Custom exit code.
message string The error message that explains the reason for the exception.

Return Value

Type Description
void