You are here

public function LockrApiException::__construct in Lockr 7.3

File

vendor/lockr/lockr/src/Exception/LockrApiException.php, line 11

Class

LockrApiException

Namespace

Lockr\Exception

Code

public function __construct(array $errors = []) {
  $this->errors = $errors;
  $msg = $this
    ->buildMessage();
  $code = $this
    ->divineCode();
  parent::__construct($msg, $code);
}