Files
newznab-tmux/newznab/NetworkException.php
T
2015-06-18 10:30:43 +02:00

35 lines
1.0 KiB
PHP

<?php
/**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program (see LICENSE.txt in the base directory. If
* not, see:
*
* @link <http://www.gnu.org/licenses/>.
* @author niel
*/
namespace nzedb;
/**
* A `NetworkException` may be thrown whenever an unsuccessful attempt is made to connect to a
* remote service over the network. This may be a web service, a database, or another network
* resource.
*/
class NetworkException extends \RuntimeException
{
protected $code = 503;
}
?>