NAME
    FML::Filter::ErrorStatus - error handling component.

SYNOPSIS
    Use this module in your "Something" class module like this:

       package Something;
       use FML::Filter::ErrorStatus qw(errstr error error_set error_clear);

       sub xxx
       {
          if something errors ...
          $self->error_set( why this error occurs ... );
       }

    You use "Something" module like this.

       use Something;
       $obj = new Something;
       $obj->xxx();
       unless ($obj->error) { $obj->do_somting( ...); };

DESCRIPTION
    simple utility functions to manipulate error messages.

METHODS
  error_set($message)
    save $message as an error message.

  error()
    return $message which is saved by "error_set($msg)".

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2005,2007,2008 Ken'ichi Fukamachi

    All rights reserved. This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

HISTORY
    FML::Filter::ErrorStatus first appeared in fml8 mailing list driver
    package. See "http://www.fml.org/" for more details.

    FML::Filter::ErrorStatus is derived from ErrorStatus module in 2005.

