Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / auth / password / PhabricatorAuthPasswordException.php
blobfa749722af55379db5f9279c94c0eaf94c6836b9
1 <?php
3 final class PhabricatorAuthPasswordException
4 extends Exception {
6 private $passwordError;
7 private $confirmError;
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;