This is an archive of the discontinued Mercurial Phabricator instance.

errors: introduce SecurityError and use it in a few places
ClosedPublic

Authored by martinvonz on Nov 24 2020, 1:05 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.