Much more informative error messages.

Instead of 'specified objects' and similiar crap, actually report the
entity and the operation which triggered the error.