type of expression to test
exception instance to throw in case of an error (evaluated once in case of an error, not evaluated otherwise)
result of expression
optional custom message for exception
file of origin
line of origin
e if expression evaluates to false
Enforces that given expression evaluates to boolean true after implicit conversion.
NB! When present 'msg' is used instead of existing 'e.message()'
In D2 we will be able to call this via UFCS: exception.enforce(1 == 1);