diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-01-09 00:22:00 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-01-09 00:22:00 +0000 |
commit | eb52e5952c914864f58a122b7587c7383844a790 (patch) | |
tree | b8d2d780c7ea731cad2a5e19cc879f14c2bf0fd2 /lib/Reaction/InterfaceModel | |
parent | e0a6ddb2fad8960edbc1104cdb7c909acf5b7b00 (diff) | |
download | reaction-eb52e5952c914864f58a122b7587c7383844a790.tar.gz reaction-eb52e5952c914864f58a122b7587c7383844a790.zip |
move the error to the action
Diffstat (limited to 'lib/Reaction/InterfaceModel')
-rw-r--r-- | lib/Reaction/InterfaceModel/Action.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Reaction/InterfaceModel/Action.pm b/lib/Reaction/InterfaceModel/Action.pm index 12234ec..06ab55a 100644 --- a/lib/Reaction/InterfaceModel/Action.pm +++ b/lib/Reaction/InterfaceModel/Action.pm @@ -8,6 +8,11 @@ use Reaction::Class; use namespace::clean -except => [ qw(meta) ]; +has error_message => ( + is => 'rw', + isa => 'Str', + metaclass => 'Reaction::Meta::Attribute' +); has target_model => ( is => 'ro', required => 1, |