NAME

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

VERSION

version 0.022

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

This software is copyright (c) 2015 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.