diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-10-03 16:47:14 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-10-03 16:47:14 +0000 |
commit | beff0e1e132e8005611ed4d3f07955252a7e8d72 (patch) | |
tree | 7f1bef609120ec563d75b6f60e6c8216c8be1e4f /lib/sqlalchemy/exceptions.py | |
parent | 7a2194e6c0c392ea50fb8b325acb27f8a98428f9 (diff) | |
download | sqlalchemy-beff0e1e132e8005611ed4d3f07955252a7e8d72.tar.gz |
- merged loader_strategies branch into trunk.
- this is a wide refactoring to "attribute loader" and "options" architectures.
ColumnProperty and PropertyLoader define their loading behaivor via switchable
"strategies", and MapperOptions no longer use mapper/property copying
in order to function; they are instead propigated via QueryContext
and SelectionContext objects at query/instnaces time.
All of the copying of mappers and properties that was used to handle
inheritance as well as options() has been removed and the structure
of mappers and properties is much simpler and more clearly laid out.
Diffstat (limited to 'lib/sqlalchemy/exceptions.py')
-rw-r--r-- | lib/sqlalchemy/exceptions.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sqlalchemy/exceptions.py b/lib/sqlalchemy/exceptions.py index 16a288503..16df317e2 100644 --- a/lib/sqlalchemy/exceptions.py +++ b/lib/sqlalchemy/exceptions.py @@ -50,7 +50,11 @@ class NoSuchTableError(InvalidRequestError): class AssertionError(SQLAlchemyError): """corresponds to internal state being detected in an invalid state""" pass - + +class NoSuchColumnError(KeyError, SQLAlchemyError): + """raised by RowProxy when a nonexistent column is requested from a row""" + pass + class DBAPIError(SQLAlchemyError): """something weird happened with a particular DBAPI version""" def __init__(self, message, orig): |