# phpman > perldoc > WWW::Search::Null::Error

## NAME
    [WWW::Search::Null::Error](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch%3A%3ANull%3A%3AError/markdown) - class for testing [WWW::Search](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch/markdown) clients

## SYNOPSIS
      require [WWW::Search](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch/markdown);
      my $oSearch = new [WWW::Search](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch/markdown)('[Null::Error](https://www.chedong.com/phpMan.php/perldoc/Null%3A%3AError/markdown)');
      $oSearch->native_query('Makes no difference what you search for...');
      $oSearch->retrieve_some();
      my $oResponse = $oSearch->response;
      # You get an [HTTP::Response](https://www.chedong.com/phpMan.php/perldoc/HTTP%3A%3AResponse/markdown) object with a code of 500

## DESCRIPTION
    This class is a specialization of [WWW::Search](https://www.chedong.com/phpMan.php/perldoc/WWW%3A%3ASearch/markdown) that only returns an error message.

    This module might be useful for testing a client program without actually being connected to any
    particular search engine.

## AUTHOR
    Martin 'Kingpin' Thurn, "mthurn at cpan.org", <<http://tinyurl.com/nn67z>>.

