Add an error for a bad 'is' attribute.

The error message matches Moose.