Throws the specified exception if the condition is
true.
- Namespace
- Statiq
.Core - Containing Type
- ThrowExceptionIf
Syntax
public ThrowExceptionIf(Config<bool> condition, Config<Exception> exception)
true.
public ThrowExceptionIf(Config<bool> condition, Config<Exception> exception)