the message method

This method is somewhat related to the errors method in that it provides logging and error handling. It does not accept fatal errors but can be used to store an error or informative message in the bricklayer environment under the key $self->app()->env()->{action_message} or $self->app()->env()->{action_error} respectively. This is handy for showing plugin errors or messages in your template with a custom handler or the included util::env tag handler.

Jeremy Wall 2006-08-21