changeset 45915 | 8f50dc096cf4 |
parent 45903 | 64faa55716f4 |
child 45942 | 89a2afe31e82 |
--- a/mercurial/error.py Mon Nov 23 16:05:03 2020 -0800 +++ b/mercurial/error.py Mon Nov 23 16:20:02 2020 -0800 @@ -216,6 +216,14 @@ """ +class SecurityError(Abort): + """Indicates that some aspect of security failed. + + Examples: Bad server credentials, expired local credentials for network + filesystem, mismatched GPG signature, DoS protection. + """ + + class HookLoadError(Abort): """raised when loading a hook fails, aborting an operation