-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated documentation to stop errors/warning in generation
- Loading branch information
Jeff Jenkins
committed
Dec 11, 2010
1 parent
9a6dce6
commit 0c33c69
Showing
41 changed files
with
604 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Exceptions | ||
======================================================== | ||
|
||
Field Exceptions | ||
-------------------------------- | ||
|
||
.. autoclass:: mongoalchemy.exceptions.BadValueException | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: mongoalchemy.exceptions.BadFieldSpecification | ||
:members: | ||
:undoc-members: | ||
|
||
|
||
Document Exceptions | ||
------------------------------------ | ||
|
||
.. autoexception:: mongoalchemy.document.DocumentException | ||
.. autoexception:: mongoalchemy.document.MissingValueException | ||
.. autoexception:: mongoalchemy.document.ExtraValueException | ||
.. autoexception:: mongoalchemy.document.FieldNotRetrieved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ Contents: | |
session | ||
schema/index | ||
expressions/index | ||
exceptions | ||
|
||
.. automodule:: mongoalchemy | ||
:members: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 7976cd9fdcf5cccd17bcdcf6b19903d8 | ||
config: 03b0d7f77a8c4beb6dbc7e56f80fee5f | ||
tags: fbb0d17656682115ca4d033fb2f83ba1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Exceptions | ||
======================================================== | ||
|
||
Field Exceptions | ||
-------------------------------- | ||
|
||
.. autoclass:: mongoalchemy.exceptions.BadValueException | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: mongoalchemy.exceptions.BadFieldSpecification | ||
:members: | ||
:undoc-members: | ||
|
||
|
||
Document Exceptions | ||
------------------------------------ | ||
|
||
.. autoexception:: mongoalchemy.document.DocumentException | ||
.. autoexception:: mongoalchemy.document.MissingValueException | ||
.. autoexception:: mongoalchemy.document.ExtraValueException | ||
.. autoexception:: mongoalchemy.document.FieldNotRetrieved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ Contents: | |
session | ||
schema/index | ||
expressions/index | ||
exceptions | ||
|
||
.. automodule:: mongoalchemy | ||
:members: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
|
||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
||
<title>Exceptions — MongoAlchemy v0.6 documentation</title> | ||
<link rel="stylesheet" href="../_static/default.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> | ||
<script type="text/javascript"> | ||
var DOCUMENTATION_OPTIONS = { | ||
URL_ROOT: '../', | ||
VERSION: '0.6', | ||
COLLAPSE_INDEX: false, | ||
FILE_SUFFIX: '.html', | ||
HAS_SOURCE: true | ||
}; | ||
</script> | ||
<script type="text/javascript" src="../_static/jquery.js"></script> | ||
<script type="text/javascript" src="../_static/underscore.js"></script> | ||
<script type="text/javascript" src="../_static/doctools.js"></script> | ||
<link rel="top" title="MongoAlchemy v0.6 documentation" href="../index.html" /> | ||
<link rel="up" title="API documentation" href="index.html" /> | ||
<link rel="next" title="Examples" href="../examples/index.html" /> | ||
<link rel="prev" title="Update Expressions" href="expressions/update_expressions.html" /> | ||
</head> | ||
<body> | ||
<div class="related"> | ||
<h3>Navigation</h3> | ||
<ul> | ||
<li class="right" style="margin-right: 10px"> | ||
<a href="../genindex.html" title="General Index" | ||
accesskey="I">index</a></li> | ||
<li class="right" > | ||
<a href="../py-modindex.html" title="Python Module Index" | ||
>modules</a> |</li> | ||
<li class="right" > | ||
<a href="../examples/index.html" title="Examples" | ||
accesskey="N">next</a> |</li> | ||
<li class="right" > | ||
<a href="expressions/update_expressions.html" title="Update Expressions" | ||
accesskey="P">previous</a> |</li> | ||
<li><a href="../index.html">MongoAlchemy v0.6 documentation</a> »</li> | ||
<li><a href="index.html" accesskey="U">API documentation</a> »</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="document"> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
<div class="body"> | ||
|
||
<div class="section" id="exceptions"> | ||
<h1>Exceptions<a class="headerlink" href="#exceptions" title="Permalink to this headline">¶</a></h1> | ||
<div class="section" id="field-exceptions"> | ||
<h2>Field Exceptions<a class="headerlink" href="#field-exceptions" title="Permalink to this headline">¶</a></h2> | ||
<dl class="class"> | ||
<dt id="mongoalchemy.exceptions.BadValueException"> | ||
<em class="property">class </em><tt class="descclassname">mongoalchemy.exceptions.</tt><tt class="descname">BadValueException</tt><big>(</big><em>name</em>, <em>value</em>, <em>reason</em>, <em>cause=None</em><big>)</big><a class="headerlink" href="#mongoalchemy.exceptions.BadValueException" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>An exception which is raised when there is something wrong with a | ||
value</p> | ||
</dd></dl> | ||
|
||
<dl class="class"> | ||
<dt id="mongoalchemy.exceptions.BadFieldSpecification"> | ||
<em class="property">class </em><tt class="descclassname">mongoalchemy.exceptions.</tt><tt class="descname">BadFieldSpecification</tt><a class="headerlink" href="#mongoalchemy.exceptions.BadFieldSpecification" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>An exception that is raised when there is an error in creating a | ||
field</p> | ||
</dd></dl> | ||
|
||
</div> | ||
<div class="section" id="document-exceptions"> | ||
<h2>Document Exceptions<a class="headerlink" href="#document-exceptions" title="Permalink to this headline">¶</a></h2> | ||
<dl class="exception"> | ||
<dt id="mongoalchemy.document.DocumentException"> | ||
<em class="property">exception </em><tt class="descclassname">mongoalchemy.document.</tt><tt class="descname">DocumentException</tt><a class="headerlink" href="#mongoalchemy.document.DocumentException" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>Base for all document-related exceptions</p> | ||
</dd></dl> | ||
|
||
<dl class="exception"> | ||
<dt id="mongoalchemy.document.MissingValueException"> | ||
<em class="property">exception </em><tt class="descclassname">mongoalchemy.document.</tt><tt class="descname">MissingValueException</tt><a class="headerlink" href="#mongoalchemy.document.MissingValueException" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>Raised when a required field isn’t set</p> | ||
</dd></dl> | ||
|
||
<dl class="exception"> | ||
<dt id="mongoalchemy.document.ExtraValueException"> | ||
<em class="property">exception </em><tt class="descclassname">mongoalchemy.document.</tt><tt class="descname">ExtraValueException</tt><a class="headerlink" href="#mongoalchemy.document.ExtraValueException" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>Raised when a value is passed in with no corresponding field</p> | ||
</dd></dl> | ||
|
||
<dl class="exception"> | ||
<dt id="mongoalchemy.document.FieldNotRetrieved"> | ||
<em class="property">exception </em><tt class="descclassname">mongoalchemy.document.</tt><tt class="descname">FieldNotRetrieved</tt><a class="headerlink" href="#mongoalchemy.document.FieldNotRetrieved" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>If a partial document is loaded from the database and a field which | ||
wasn’t retrieved is accessed this exception is raised</p> | ||
</dd></dl> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
<div class="sphinxsidebar"> | ||
<div class="sphinxsidebarwrapper"> | ||
<h3><a href="../index.html">Table Of Contents</a></h3> | ||
<ul> | ||
<li><a class="reference internal" href="#">Exceptions</a><ul> | ||
<li><a class="reference internal" href="#field-exceptions">Field Exceptions</a></li> | ||
<li><a class="reference internal" href="#document-exceptions">Document Exceptions</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
|
||
<h4>Previous topic</h4> | ||
<p class="topless"><a href="expressions/update_expressions.html" | ||
title="previous chapter">Update Expressions</a></p> | ||
<h4>Next topic</h4> | ||
<p class="topless"><a href="../examples/index.html" | ||
title="next chapter">Examples</a></p> | ||
<h3>This Page</h3> | ||
<ul class="this-page-menu"> | ||
<li><a href="../_sources/api/exceptions.txt" | ||
rel="nofollow">Show Source</a></li> | ||
</ul> | ||
<div id="searchbox" style="display: none"> | ||
<h3>Quick search</h3> | ||
<form class="search" action="../search.html" method="get"> | ||
<input type="text" name="q" size="18" /> | ||
<input type="submit" value="Go" /> | ||
<input type="hidden" name="check_keywords" value="yes" /> | ||
<input type="hidden" name="area" value="default" /> | ||
</form> | ||
<p class="searchtip" style="font-size: 90%"> | ||
Enter search terms or a module, class or function name. | ||
</p> | ||
</div> | ||
<script type="text/javascript">$('#searchbox').show(0);</script> | ||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="related"> | ||
<h3>Navigation</h3> | ||
<ul> | ||
<li class="right" style="margin-right: 10px"> | ||
<a href="../genindex.html" title="General Index" | ||
>index</a></li> | ||
<li class="right" > | ||
<a href="../py-modindex.html" title="Python Module Index" | ||
>modules</a> |</li> | ||
<li class="right" > | ||
<a href="../examples/index.html" title="Examples" | ||
>next</a> |</li> | ||
<li class="right" > | ||
<a href="expressions/update_expressions.html" title="Update Expressions" | ||
>previous</a> |</li> | ||
<li><a href="../index.html">MongoAlchemy v0.6 documentation</a> »</li> | ||
<li><a href="index.html" >API documentation</a> »</li> | ||
</ul> | ||
</div> | ||
<div class="footer"> | ||
© Copyright 2010, Jeffrey Jenkins. | ||
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.3. | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.