Throw an error when bindings aren't an obj or func

My attempt at solving issue #1679. Let me know if this has any problems!
ugh because it invokes it :( crap i have WAY too many testing frameworks in my life ATM