phacility/phabricator · error · PhabricatorConfigValidationException

$ex->getMessage()

Error message

$ex->getMessage()

What it means

Error "$ex->getMessage()" thrown in phacility/phabricator.

Source

Thrown at src/applications/config/option/PhabricatorApplicationConfigOptions.php:34

      return;
    }

    if ($value === null) {
      return;
    }

    $type = $option->newOptionType();
    if ($type) {
      try {
        $type->validateStoredValue($option, $value);
        $this->didValidateOption($option, $value);
      } catch (PhabricatorConfigValidationException $ex) {
        throw $ex;
      } catch (Exception $ex) {
        // If custom validators threw exceptions other than validation
        // exceptions, convert them to validation exceptions so we repair the
        // configuration and raise an error.
        throw new PhabricatorConfigValidationException($ex->getMessage());
      }

      return;
    }

    if ($option->isCustomType()) {
      try {
        return $option->getCustomObject()->validateOption($option, $value);
      } catch (Exception $ex) {
        throw new PhabricatorConfigValidationException($ex->getMessage());
      }
    } else {
      throw new Exception(
        pht(
          'Unknown configuration option type "%s".',
          $option->getType()));
    }

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/config/option/PhabricatorApplicationConfigOptions.php:34 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/0ece01d470398128. Report an issue: GitHub.