NAME

Form::Factory::Feature::Role::CustomMessage - features with custom messages

VERSION

version 0.009

DESCRIPTION

A feature may consume this role in order to allow the user to specify a custom message on failure.

ATTRIBUTES

message

This is a custom error message for failures. This message is used instead of the one the feature specifies when "feature_info", "feature_warning", and "feature_error" are called.

This is inadequate. It should be fixed in the future.

METHODS

feature_info

  $feature->feature_info($message);

Record an info feature message.

feature_warning

  $feature->feature_warning($message);

Record a warning feature message.

feature_error

  $feature->feature_error($message);

Record an error feature message.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2009 Qubling Software LLC.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.