Skip to content

Commit b3229ec

Browse files
committed
PEP 748: ConfigurationError is only for unsupported features
1 parent 08b69e0 commit b3229ec

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

peps/pep-0748.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,9 @@ The definitions of the errors are below:
10731073
10741074
class ConfigurationError(TLSError):
10751075
"""A special exception that implementations can use when the provided
1076-
configuration uses features not supported by that implementation."""
1076+
configuration uses features not supported by that implementation. Do not
1077+
use this exception when the provided configuration is invalid, use
1078+
standard exceptions instead."""
10771079
10781080
10791081
Certificates

0 commit comments

Comments
 (0)