- If you "also" a module that isn't loaded, the error message
now acknowledges that (Sartak)
+ * Moose
+ - When your ->meta method does not return a Moose::Meta::Class,
+ the error message gave the wrong output (Sartak)
+
0.78 Tue, May 12, 2009
* Moose::Cookbook::FAQ and Moose::Cookbook::WTF
- Merged these documents into what is now Moose::Manual::FAQ
my $method_meta = $class->meta;
( blessed($method_meta) && $method_meta->isa('Moose::Meta::Class') )
- || Moose->throw_error("$class already has a &meta function, but it does not return a Moose::Meta::Class ($meta)");
+ || Moose->throw_error("$class already has a &meta function, but it does not return a Moose::Meta::Class ($method_meta)");
$meta = $method_meta;
}