Better error handling for decorator with non-functions

It's not possible to introspect argument by name for them.