From a48ee1b397249302305eb00998e287c62d898c68 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 9 Sep 2010 09:24:55 -0400 Subject: - add doc pages for exceptions --- lib/sqlalchemy/exc.py | 4 ++-- lib/sqlalchemy/orm/exc.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy') 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 -- cgit v1.2.1