Proper error message when first level in the inheritance tree is not found