1 /*-------------------------------------------------------------------------
4 * POSTGRES known exception identifier code.
6 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
11 * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excid.c,v 1.10 2001/02/06 01:53:53 tgl Exp $
13 *-------------------------------------------------------------------------
18 /*****************************************************************************
19 * Generic Recoverable Exceptions *
20 *****************************************************************************/
25 * Indicates an Assert(...) failed.
27 Exception FailedAssertion = {"Failed Assertion"};
31 * Indicates a function call request is inconsistent with module state.
33 Exception BadState = {"Bad State for Function Call"};
37 * Indicates a function call argument or arguments is out-of-bounds.
39 Exception BadArg = {"Bad Argument to Function Call"};
41 /*****************************************************************************
42 * Specific Recoverable Exceptions *
43 *****************************************************************************/
47 * Indicates a function call request requires unimplemented code.
49 Exception Unimplemented = {"Unimplemented Functionality"};
51 Exception CatalogFailure = {"Catalog failure"}; /* XXX inconsistent */
52 Exception InternalError = {"Internal Error"}; /* XXX inconsistent */
53 Exception SemanticError = {"Semantic Error"}; /* XXX inconsistent */
54 Exception SystemError = {"System Error"}; /* XXX inconsistent */