replaced throw_error with die Moose::Exception::CanOnlyConsumeRole
Wrote Exception class for 'class can only consume a role'