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: private $errors;
15:
16: private $url;
17:
18: public function setErrors(array $errors)
19: {
20: $this->errors = $errors;
21: }
22:
23: public function getErrors()
24: {
25: return $this->errors;
26: }
27:
28: public function setUrl($url)
29: {
30: $this->url = $url;
31: }
32:
33: public function getCurlInfo()
34: {
35: return $this->url;
36: }
37: }
38: