@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorAuthPasswordException
4 extends Exception {
5
6 private $passwordError;
7 private $confirmError;
8
9 public function __construct(
10 $message,
11 $password_error,
12 $confirm_error = null) {
13
14 $this->passwordError = $password_error;
15 $this->confirmError = $confirm_error;
16
17 parent::__construct($message);
18 }
19
20 public function getPasswordError() {
21 return $this->passwordError;
22 }
23
24 public function getConfirmError() {
25 return $this->confirmError;
26 }
27
28}