public function LockrException::__construct in Lockr 7.2
Constructs a new LockrException.
File
- vendor/
lockr/ lockr-client/ src/ Exception/ LockrException.php, line 21
Class
Namespace
Lockr\ExceptionCode
public function __construct(array $params = array()) {
$this->title = isset($params['title']) ? $params['title'] : '';
$this->description = isset($params['description']) ? $params['description'] : '';
parent::__construct(isset($params['message']) ? $params['message'] : '', isset($params['code']) ? $params['code'] : 0, isset($params['previous']) ? $params['previous'] : NULL);
}