errors: introduce SecurityError and use it in a few places
This is part of https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. There are perhaps more errors in `sslutil.py` that should raise `SecurityError`; I picked the most clear ones to start with. Differential Revision: https://phab.mercurial-scm.org/D9390
Showing
- mercurial/error.py 8 additions, 0 deletionsmercurial/error.py
- mercurial/scmutil.py 2 additions, 0 deletionsmercurial/scmutil.py
- mercurial/sslutil.py 6 additions, 6 deletionsmercurial/sslutil.py
- tests/test-https.t 6 additions, 6 deletionstests/test-https.t
- tests/test-patchbomb-tls.t 1 addition, 1 deletiontests/test-patchbomb-tls.t
Loading
Please register or sign in to comment