NAME Data::Processor::Error::Collection - Collect errors for Data::Processor

METHODS =head2 new

my $errors = Data::Processor::Error::Collection->new();

add Adds an error.

any_error_contains Return true if any of the collected errors contains a given string. $error->collection->any_error_contains( string => "error_msg", field => "message", # any of the data fields of an error );

as_array Return all collected errors as an array.

count Return count of errors.