Throw if non-function given to deprecate.function(fn, message)