1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/diffusion/exception
epriestley b80b851600 Throw a more tailored exception after failing to resolve a ref
Summary: Ref T2683. Throw a more tailored exception to allow callers to distinguish between bad refs (which are expected, if users try to visit garbage branches) and other types of errors.

Test Plan: Tried to view branch "alksndfklansdf". Viewed branch "master".

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2683

Differential Revision: https://secure.phabricator.com/D9094
2014-05-13 13:52:33 -07:00
..
DiffusionCommitHookRejectException.php Reject dangerous changes in Git repositories by default 2013-12-03 10:28:39 -08:00
DiffusionRefNotFoundException.php Throw a more tailored exception after failing to resolve a ref 2014-05-13 13:52:33 -07:00
DiffusionSetupException.php Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00