You are here

class LockrException in Lockr 7.2

Hierarchy

  • class \Lockr\Exception\LockrException extends \Lockr\Exception\Exception

Expanded class hierarchy of LockrException

2 files declare their use of LockrException
lockr.module in ./lockr.module
Hook implementations and callbacks for lockr.
Lockr.php in vendor/lockr/lockr-client/src/Lockr.php

File

vendor/lockr/lockr-client/src/Exception/LockrException.php, line 6

Namespace

Lockr\Exception
View source
class LockrException extends \Exception {

  /**
   * @var string
   */
  public $title;

  /**
   * @var string
   */
  public $description;

  /**
   * Constructs a new LockrException.
   */
  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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LockrException::$description public property
LockrException::$title public property
LockrException::__construct public function Constructs a new LockrException.