Throws a
ExecutionException
with the specified message if the condition is true
.
- Namespace
- Statiq
.Core - Containing Type
- ThrowExceptionIf
Syntax
public ThrowExceptionIf(Config<bool> condition, Config<string> message)