Check whether a certain variable is not NULL and return the name of that
variable and the function call where the variable is missing. This function
is a helper function that should only be called within other functions
Usage
check_not_null(...)
Value
The function returns NULL, but throws an error if the variable is
missing.