- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
class ChargifyNotFoundException extends ChargifyException {
var $errors;
var $http_code;
public function ChargifyNotFoundException($http_code, $error) {
$this->http_code = $http_code;
$message = '';
$this->errors = array();
foreach ($error as $key=>$value) {
if ($key == 'error') {
$this->errors[] = $value;
$message .= $value . ' ';
}
}
parent::__construct($message, intval($http_code));
}
}