Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / auth / password / PhabricatorAuthPasswordException.php
blobd4b13bb10cbd3caaed49ac2fc47b889c358fedcf
1 <?php
3 final class PhabricatorAuthPasswordException
4 extends Exception {
6 private $passwordError;
7 private $confirmErorr;
9 public function __construct(
10 $message,
11 $password_error,
12 $confirm_error = null) {
14 $this->passwordError = $password_error;
15 $this->confirmError = $confirm_error;
17 parent::__construct($message);
20 public function getPasswordError() {
21 return $this->passwordError;
24 public function getConfirmError() {
25 return $this->confirmError;