The
throw_unless function throws the given exception if a given boolean expression evaluates to false: