version resource should raise resource attr exception