summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-09-09 09:24:55 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-09-09 09:24:55 -0400
commita48ee1b397249302305eb00998e287c62d898c68 (patch)
treebb850f100116c8ddd155160e56b430ba26d3607d /lib/sqlalchemy
parentce7768e3130ce1f83796c6090307e4591cbbfc45 (diff)
downloadsqlalchemy-a48ee1b397249302305eb00998e287c62d898c68.tar.gz
- add doc pages for exceptions
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/exc.py4
-rw-r--r--lib/sqlalchemy/orm/exc.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py
index 1c412824c..003969f56 100644
--- a/lib/sqlalchemy/exc.py
+++ b/lib/sqlalchemy/exc.py
@@ -5,9 +5,9 @@
"""Exceptions used with SQLAlchemy.
-The base exception class is SQLAlchemyError. Exceptions which are raised as a
+The base exception class is :class:`.SQLAlchemyError`. Exceptions which are raised as a
result of DBAPI exceptions are all subclasses of
-:class:`~sqlalchemy.exc.DBAPIError`.
+:class:`.DBAPIError`.
"""
diff --git a/lib/sqlalchemy/orm/exc.py b/lib/sqlalchemy/orm/exc.py
index 3f28a3dd3..8f257bdd5 100644
--- a/lib/sqlalchemy/orm/exc.py
+++ b/lib/sqlalchemy/orm/exc.py
@@ -38,7 +38,7 @@ class FlushError(sa.exc.SQLAlchemyError):
class UnmappedError(sa.exc.InvalidRequestError):
- """TODO"""
+ """Base for exceptions that involve expected mappings not present."""
class DetachedInstanceError(sa.exc.SQLAlchemyError):
"""An attempt to access unloaded attributes on a