LockrException.php in Lockr 7.2
File
vendor/lockr/lockr-client/src/Exception/LockrException.php
View source
<?php
namespace Lockr\Exception;
class LockrException extends \Exception {
public $title;
public $description;
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);
}
}