Asserts that a value is null.
Optional
Value to check
Error object or message to throw if the value is not null
Asserts that a value is null.