Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
1dffc70c
Commit
1dffc70c
authored
Jan 06, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document DataConversionError.
parent
e612edf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
doc/ZConfig/zconfig.tex
doc/ZConfig/zconfig.tex
+25
-0
No files found.
doc/ZConfig/zconfig.tex
View file @
1dffc70c
...
...
@@ -434,6 +434,31 @@ The following exceptions are defined by this package:
ambiguity.
\end
{
excdesc
}
\begin
{
excdesc
}{
DataConversionError
}
Raised when a data type conversion fails with
\exception
{
ValueError
}
. This exception is a subclass of both
\exception
{
ConfigurationError
}
and
\exception
{
ValueError
}
. The
\function
{
str
()
}
of the exception provides the explanation from the
original
\exception
{
ValueError
}
, and the line number and URL of the
value which provoked the error. The following additional attributes
are provided:
\begin
{
tableii
}{
l|l
}{
member
}{
Attribute
}{
Value
}
\lineii
{
colno
}
{
column number at which the value starts, or
\code
{
None
}}
\lineii
{
exception
}
{
the original
\exception
{
ValueError
}
instance
}
\lineii
{
lineno
}
{
line number on which the value starts
}
\lineii
{
message
}
{
\function
{
str
()
}
returned by the original
\exception
{
ValueError
}}
\lineii
{
value
}
{
original value passed to the conversion function
}
\lineii
{
url
}
{
URL of the resource providing the value text
}
\end
{
tableii
}
\end
{
excdesc
}
\begin
{
excdesc
}{
SchemaError
}
Raised when a schema contains an error. This exception type
provides the attributes
\member
{
url
}
,
\member
{
lineno
}
, and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment