Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Tracking
    • Exceptions
    • Services
  • PHP

Exceptions

  • CtctException
  • IllegalArgumentException
  • OAuth2Exception
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace Ctct\Exceptions;
 3: 
 4: use Exception;
 5: 
 6: /**
 7:  * General exception
 8:  * 
 9:  * @package     exceptions
10:  * @author         djellesma
11:  */
12: class CtctException extends Exception
13: {
14:     
15:     private $errors;
16:     private $curlInfo;
17:     
18:     
19:     public function setErrors(array $errors)
20:     {
21:         $this->errors = $errors;
22:     }
23:     
24:     public function getErrors()
25:     {
26:         return $this->errors;
27:     }
28: 
29:     public function setCurlInfo(array $info)
30:     {
31:         $this->curlInfo = $info;
32:     }
33: 
34:     public function getCurlInfo()
35:     {
36:         return $this->curlInfo;
37:     }
38: }
39: 
Appconnect PHP SDK API documentation generated by ApiGen 2.8.0