Better exception messages when unable to invoke