<?php
final class ConduitClientException extends Exception {
protected $errorCode;
public function __construct($code, $info) {
parent::__construct("{$code}: {$info}");
$this->errorCode = $code;
}
public function getErrorCode() {
return $this->errorCode;
}
}
Back to Directory