Commit bfcfd03d authored by Fred Drake's avatar Fred Drake

move the "url" attribute to the base ConfigurationError exception,

and set it in more places
parent dcf8f73c
...@@ -1136,15 +1136,16 @@ The following exceptions are defined by this package: ...@@ -1136,15 +1136,16 @@ The following exceptions are defined by this package:
\begin{excdesc}{ConfigurationError} \begin{excdesc}{ConfigurationError}
Base class for exceptions specific to the \module{ZConfig} package. Base class for exceptions specific to the \module{ZConfig} package.
All instances provide a \member{message} attribute that describes All instances provide a \member{message} attribute that describes
the specific error. the specific error, and a \member{url} attribute that gives the URL
of the resource the error was located in, or \constant{None}.
\end{excdesc} \end{excdesc}
\begin{excdesc}{ConfigurationSyntaxError} \begin{excdesc}{ConfigurationSyntaxError}
Exception raised when a configuration source does not conform to the Exception raised when a configuration source does not conform to the
allowed syntax. In addition to the \member{message} attribute, allowed syntax. In addition to the \member{message} and
exceptions of this type offer the \member{url} and \member{lineno} \member{url} attributes, exceptions of this type offer the
attributes, which provide the URL and line number at which the error \member{lineno} attribute, which provides the line number at which
was detected. the error was detected.
\end{excdesc} \end{excdesc}
\begin{excdesc}{DataConversionError} \begin{excdesc}{DataConversionError}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment