Overview

Namespaces

  • NGS
    • Client
      • Exception
    • Converter
    • Patterns
  • PHP

Exceptions

  • ClientErrorException
  • InvalidRequestException
  • NotFoundException
  • RequestException
  • SecurityException
  • ServerErrorException
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace NGS\Client\Exception;
 3: 
 4: use NGS\Client\HttpRequest;
 5: 
 6: /**
 7:  * Generic http exception used for all request exceptions
 8:  */
 9: class RequestException extends \Exception
10: {
11:     protected $request;
12: 
13:     public function setRequest(HttpRequest $request)
14:     {
15:         $this->request = $request;
16:     }
17: 
18:     public function getRequest()
19:     {
20:         return $this->request;
21:     }
22: }
23: 
API documentation generated by ApiGen 2.8.0