<?php

final class PhutilMissingSymbolException extends Exception {

  public function __construct($symbol, $type, $reason) {
    $message = sprintf(
      'Failed to load symbol "%s" (of type "%s").'.
      "\n\n".
      '%s'.
      "\n\n".
      'If you are not a developer, this almost always means that a library '.
      'is out of date. For example, you may have upgraded "phabricator/" '.
      'without upgrading "arcanist/", or vice versa. It might also mean '.
      'that you need to restart Apache or PHP-FPM. Make sure all libraries '.
      'are up to date and all services have been restarted.'.
      "\n\n".
      'If you are a developer and this symbol was recently added or '.
      'moved, your library map may need to be rebuilt. You can rebuild '.
      'the map by running "arc liberate".'.
      "\n\n".
      'For more information, see: https://phurl.io/newclasses',
      $symbol,
      $type,
      $reason);

    parent::__construct($message);
  }

}

<?php

final class PhutilMissingSymbolException extends Exception {

  public function __construct($symbol, $type, $reason) {
    $message = sprintf(
      'Failed to load symbol "%s" (of type "%s").'.
      "\n\n".
      '%s'.
      "\n\n".
      'If you are not a developer, this almost always means that a library '.
      'is out of date. For example, you may have upgraded "phabricator/" '.
      'without upgrading "arcanist/", or vice versa. It might also mean '.
      'that you need to restart Apache or PHP-FPM. Make sure all libraries '.
      'are up to date and all services have been restarted.'.
      "\n\n".
      'If you are a developer and this symbol was recently added or '.
      'moved, your library map may need to be rebuilt. You can rebuild '.
      'the map by running "arc liberate".'.
      "\n\n".
      'For more information, see: https://phurl.io/u/newclasses',
      $symbol,
      $type,
      $reason);

    parent::__construct($message);
  }

}

Correct a mistaken Phurl link in the "missing symbol" exception
Correct a mistaken Phurl link in the "missing symbol" exception

Summary: See PHI2022. This link is missing the `/u/` part and currently 404's.

Test Plan: Followed the new link, got documentation.

Differential Revision: https://secure.phabricator.com/D21611
