projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c0e91e5
)
Need to load the error class or tests fail
Dave Rolsky [Tue, 16 Sep 2008 18:41:04 +0000 (18:41 +0000)]
lib/Moose/Meta/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Class.pm
b/lib/Moose/Meta/Class.pm
index
e16a85e
..
1fab159
100644
(file)
--- a/
lib/Moose/Meta/Class.pm
+++ b/
lib/Moose/Meta/Class.pm
@@
-683,6
+683,8
@@
sub create_error {
my $class = ref $self ? $self->error_class : "Moose::Error::Default";
+ Class::MOP::load_class($class);
+
$class->new(
Carp::caller_info($args{depth}),
%args