Given that fail was undefined, this was really quite a nice improvement :)

But I agree, maybe we should write a fail function with a useful message.