]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Change CompileException references to ConpileError
authorVraj Mohan <r.vrajmohan@gmail.com>
Thu, 14 Nov 2013 15:58:02 +0000 (10:58 -0500)
committerVraj Mohan <r.vrajmohan@gmail.com>
Thu, 14 Nov 2013 19:31:38 +0000 (14:31 -0500)
doc/build/changelog/changelog_07.rst
lib/sqlalchemy/sql/sqltypes.py

index a102573e92bf16f795c8acf075bec224f6f1f5fd..68e03a2e25d24e0817ad299428e3526aa1338bfd 100644 (file)
         :tickets: 2361
 
       Dialect-specific compilers now raise
-      CompileException for all type/statement compilation
+      CompileError for all type/statement compilation
       issues, instead of InvalidRequestError or ArgumentError.
       The DDL for CREATE TABLE will re-raise
-      CompileExceptions to include table/column information
+      CompileError to include table/column information
       for the problematic column.
 
     .. change::
index 82ab3d5560d4749d4ae3d5f9713786dddc57b73f..8f22ae81c29a06525623635d997c67794fc8f351 100644 (file)
@@ -1512,7 +1512,7 @@ class NullType(TypeEngine):
     The :class:`.NullType` can be used within SQL expression invocation
     without issue, it just has no behavior either at the expression construction
     level or at the bind-parameter/result processing level.  :class:`.NullType`
-    will result in a :class:`.CompileException` if the compiler is asked to render
+    will result in a :exc:`.CompileError` if the compiler is asked to render
     the type itself, such as if it is used in a :func:`.cast` operation
     or within a schema creation operation such as that invoked by
     :meth:`.MetaData.create_all` or the :class:`.CreateTable` construct.