Koha::Object::Message - Class encapsulating action feedback messages in Koha::Object-derived classes
my ($self, $params) = @_; push @{$self->{_messages}} = Koha::Object::Message->new($params);
my $message = Koha::Object::Message->new( { message => $some_message, [ type => 'error', payload => $payload ] } );
Create a new Koha::Object::Message object.
Tomas Cohen Arazi, <tomascohen@theke.io>