Ugly version of error handling

This will have to be changed once we switch the way we do func_for_method,
but I will await @JeffBezanson's judgement on how to do that best, so I'll
use this to go head first.