/*
 * excid.c --
 *	POSTGRES known exception identifier code.
 */

#include "tmp/c.h"

#include "utils/excid.h"

RcsId("$Header: /private/postgres/src/utils/error/RCS/excid.c,v 1.3 1990/09/25 16:51:55 kemnitz Exp $");

Exception FailedAssertion = { "Failed Assertion" };
Exception BadState = { "Bad State for Function Call" };
Exception BadArg = { "Bad Argument to Function Call" };

Exception BadAllocSize = { "Too Large Allocation Request" };

Exception ExhaustedMemory = { "Memory Allocation Failed" };
Exception Unimplemented = { "Unimplemented Functionality" };

Exception CatalogFailure = {"Catalog failure"};	/* XXX inconsistent */
Exception InternalError = {"Internal Error"};	/* XXX inconsistent */
Exception SemanticError = {"Semantic Error"};	/* XXX inconsistent */
Exception SystemError = {"System Error"};	/* XXX inconsistent */
