NetworkException.php 527 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\core;
  9. /**
  10. * A `NetworkException` may be thrown whenever an unsuccessful attempt is made to connect to a
  11. * remote service over the network. This may be a web service, a database, or another network
  12. * resource.
  13. */
  14. class NetworkException extends \RuntimeException {
  15. protected $code = 503;
  16. }
  17. ?>