projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bf6fa6b
)
rename 'error' error parameter to 'last_error'
Yuval Kogman [Tue, 16 Sep 2008 18:07:42 +0000 (18:07 +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
db69521
..
7278393
100644
(file)
--- a/
lib/Moose/Meta/Class.pm
+++ b/
lib/Moose/Meta/Class.pm
@@
-679,7
+679,7
@@
sub create_error {
unshift @args, "message";
}
- my %args = ( metaclass => $self, error => $@, @args );
+ my %args = ( metaclass => $self, last_error => $@, @args );
$args{depth} += $error_level;