"Fossies" - the Fresh Open Source Software Archive

Member "libs/PHPCrawler/Enums/PHPCrawlerRequestErrors.class.php" (8 Jan 2013, 831 Bytes) of package /linux/www/SitemapCreator.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 <?php
    2 /**
    3  * Contains all possible errorcodes for errors that may appear during a http-request.
    4  *
    5  * @package phpcrawl.enums
    6  */
    7 class PHPCrawlerRequestErrors
    8 {
    9   /**
   10    * Error-Code: SSL/HTTPS not supported (probably openssl-extension not installed)
   11    */
   12   const ERROR_SSL_NOT_SUPPORTED = 1;
   13   
   14   /**
   15    * Error-Code: Host not reachable
   16    */
   17   const ERROR_HOST_UNREACHABLE = 2;
   18   
   19   /**
   20    * Error-Code: Host didn't respond with a valid HTTP-header.
   21    */
   22   const ERROR_NO_HTTP_HEADER = 3;
   23   
   24   /**
   25    * Error-Code: Could not write or create TMP-file.
   26    */
   27   const ERROR_TMP_FILE_NOT_WRITEABLE = 4;
   28   
   29   /**
   30    * Error-Code: Socket timed out while reading data.
   31    */
   32   const ERROR_SOCKET_TIMEOUT = 5;
   33   
   34  /**
   35   * Error-Code: Proxy not reachable
   36   */
   37   const ERROR_PROXY_UNREACHABLE = 6;
   38 }