// E32PANIC.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__E32PANIC_H__)
#define __E32PANIC_H__

#include <e32def.h>
#include <e32std.h>

enum TCdtPanic
	{
	EInvariantFalse=0,
	ETDateTimeUnderflow=1,
	ETDateTimeBadDate=2,
	ETDateTimeBadDateTime=3,
	ETDateTimeAddDaysRange=4,
	ETDateTimeAddMonthsRange=5,
	ETDateTimeDaySecNegative=6,
	ETDes16BadDescriptorType=7,
	ETDes16LengthOutOfRange=8,
	ETDes16IndexOutOfRange=9,
	ETDes16PosOutOfRange=10,
	ETDes16Overflow=11,
	ETDes16BadFormatDescriptor=12,
	ETDes16BadFormatParams=13,
	ETDes16ReAllocTooSmall=14,
	ETDes16RemoteBadDescriptorType=15,
	ETDes16RemoteLengthOutOfRange=16,
	ETDes16LengthNegative=17,
	ETDes16MaxLengthNegative=18,
	ETDes8BadDescriptorType=19,
	ETDes8LengthOutOfRange=20,
	ETDes8IndexOutOfRange=21,
	ETDes8PosOutOfRange=22,
	ETDes8Overflow=23,
	ETDes8BadFormatDescriptor=24,
	ETDes8BadFormatParams=25,
	ETDes8ReAllocTooSmall=26,
	ETDes8RemoteBadDescriptorType=27,
	ETDes8RemoteLengthOutOfRange=28,
	ETDes8LengthNegative=29,
	ETDes8MaxLengthNegative=30,
	ETEntLeaveWithoutEnter=31,
	ETEventNotMoveType=32,
	ETEventNotKeyType=33,
    ETEventNotUpdateModifiersType=34,
	ETFuncTKeyVirtualAt=35,
	ETFuncTSwapVirtualSwap=36,
	ETFuncUidTypeBadIndex=37,
	ETFuncCheckedUidBadSet=38,
	ETHeapNewBadSize=39,
	ETHeapCreateSizeTooSmall=40,
	ETHeapCreateMaxLessThanMin=41,
	ETHeapBadCellAddress=42,
	ETHeapAdjustTooSmall=43,
	ETHeapFreeBadNextCell=44,
	ETHeapFreeBadPrevCell=45,
	ETHeapReAllocBadNextCell=46,
	ETHeapBadAllocatedCellSize=47,
	ETHeapBadAllocatedCellAddress=48,
	ETHeapBadFreeCellAddress=49,
	ETHeapDebugBufferOverflow=50,
	ETHeapDebugUnmatchedCallToCheckHeap=51,
	ETHeapAdjustOffsetNegative=52,
	ETHeapAllocSizeNegative=53,
	ETHeapReAllocSizeNegative=54,
	ETHeapMinLengthNegative=55,
	ETHeapMaxLengthNegative=56,
	ETHeapClosedTooManyTimes=57,
	ETHeapOnlyChunkHeaps=58,
	ETLex8UnGetUnderflow=59,
	ETLex8IncOutOfRange=60,
	ETLex8SkipOutOfRange=61,
	ETLex8BadFormatList=62,
	ETLex8MarkOutOfRange=63,
	ETLex16UnGetUnderflow=64,
	ETLex16IncOutOfRange=65,
	ETLex16SkipOutOfRange=66,
	ETLex16BadFormatList=67,
	ETLex16MarkOutOfRange=68,
	ETLoclSuffixOutOfRange=69,
	EMesBadDelayTime=70,
	EMesBadRetryCount=71,
	ETMesBadFunctionNumber=72,
	ETMesReceiveFailed=73,
	ESQueOffsetNegative=74,
	ESQueOffsetNotAligned=75,
	ESQueLinkNotQueued=76,
	ETQueOffsetNegative=77,
	ETQueOffsetNotAligned=78,
	ETQueQueueEmpty=79,
	ETQueLinkHasBeenRemoved=80,
	ETRegionOutOfRange=81,
	ETRegionInvalidRegionInSort=82,
	ETUtlKernelServerSend=83,
	ERTestFailed=84,
	ERTestCreateConsole=85,
	EExecAfterTimeNegative=86,
	ERTimerAfterTimeNegative=87,
	EMemLeftNegative=88,
	EMemRightNegative=89,
	EMemCopyLengthNegative=90,
	EMemMoveLengthNotMultipleOf4=91,
	EMemMoveSourceNotAligned=92,
	EMemMoveTargetNotAligned=93,
	EMemSwapLengthNegative=94,
	EMemFillLengthNegative=95,
	ESortCountNegative=96,
	EBinarySearchCountNegative=97,
	EKeyOffsetNegative=98,
	EChkCreateMaxSizeNegative=99,
	EChkCreateSizeNotPositive=100,
	EChkCreateMaxLessThanMin=101,
	EChkAdjustNewSizeNegative=102,
	ESesDelayTimeNegative=103,
	ESesRetryCountNegative=104,
	ESemCreateCountNegative=105,
	ESemSignalCountNegative=106,
	ECriticalSectionStraySignal=107,
	EThrdHeapNotChunkType=108,
	EThrdStackSizeNegative=109,
	EThrdHeapMinTooSmall=110,
	EThrdHeapMaxLessThanMin=111,
	ERefAllocSizeNegative=112,
	ETTimeValueOutOfRange=113,
	EDriveNotConnected=114,
	EDriveOutOfRange=115,
	EBadLookupOrdinal=116,
	EChunkHeapBadOffset=117,
	ETQueLinkAlreadyInUse=118,
	ECurrencySymbolOverflow=119,
	EChkCreateBottomNegative=120,
	EChkCreateTopNegative=121,
	EChkCreateTopLessThanBottom=122,
	EChkCreateTopBiggerThanMax=123,
	EChkAdjustBottomNegative=124,
	EChkAdjustTopNegative=125,
	EChkAdjustTopLessThanBottom=126,
	EBadArrayGranularity=127,
	EBadArrayKeyOffset=128,
	EBadArrayEntrySize=129,
	EBadArrayIndex=130,
	EBadArrayPosition=131,
	EBadCollationRulesIndex=132,
	EBadFixedArrayIndex=133,
	};

enum TBasePanic
    {
	ECAsyncCBIsActive=1,
	ECAsyncOneShotNotAdded=2,
	EBufExpandSizeNegative=3,
	EBufReadBeyondEnd=4,
	EBufWriteBeyondEnd=5,
	EBufReadLengthNegative=6,
	EBufWriteLengthNegative=7,
	EBufInsertLengthNegative=8,
	EBufInsertBadPtr=9,
	EBufFlatReserveNegative=10,
	EBufFlatReserveSetTooSmall=11,
	EBufFlatPosOutOfRange=12,
	EBufFlatDeleteBeyondEnd=13,
	EBufSegPosOutOfRange=14,
	EBufSegDeleteBeyondEnd=15,
	EBufSegSetSBO=16,
	EArrayFixInvalidLength=17,
	EArrayFixInvalidGranularity=18,
	EArrayVarInvalidGranularity=19,
	EArrayPakInvalidGranularity=20,
	EArrayIndexOutOfRange=21,
	EArrayCountNegative=22,
	EArrayCountNegative2=23,
	EArrayCountNegative3=24,
	EArrayCountNegative4=25,
	EArrayCountNegative5=26,
    EArrayReserveTooSmall=27,
	EArrayReplicasNegative=28,
	EArrayCountTooBig=29,
	EArrayLengthNegative=30,
	EArrayReaderCountVirtual=31,
	EArrayReaderAtVirtual=32,
	EObjObjectStillReferenced=33,
	EObjNegativeAccessCount=34,
	EObjRemoveObjectNotFound=35,
	EObjRemoveContainerNotFound=36,
	EObjRemoveBadHandle=37,
	EObjFindBadHandle=38,
	EObjFindIndexOutOfRange=39,
	EReqStillActiveOnDestruct=40,
	EReqAlreadyAdded=41,
	EReqAlreadyActive=42,
	EReqManagerAlreadyExists=43,
	EReqManagerDoesNotExist=44,
	EReqTooManyStops=45,
	EReqStrayEvent=46,
	EReqActiveObjectLeave=47,
	EReqNull=48,
	EActiveNotAdded=49,
	ESetPriorityActive=50,
	ETimNotAdded=51,
	ETimIntervalNegativeOrZero=52,
	ETimDelayNegative=53,
	ESvrBadMessageNumber=54,
	ESvrNoServerName=55,
	EBmaSizeLessOrEqualToZero=56,
	EBmaFreeOutOfRange=57,
	EBmaAllocOutOfRange=58,
	EBmaAllocFromTopFromOutOfRange=59,
	EBmaFreeTooMany=60,
	EBmaFreeNotAllocated=61,
	EBmaAllocAtAlreadyAllocated=62,
	EClnPopAcrossLevels=63,
	EClnPopUnderflow=64,
	EClnLevelUnderflow=65,
	EClnPushAtLevelZero=66,
	EClnNoCleanupOperation=67,
	EClnNoFreeSlotItem=68,
	EClnNoTrapHandlerInstalled=69,
	EClnPopCountNegative=70,
	EClnLevelNotEmpty=71,
	ECircItemSizeNegativeOrZero=72,
	ECircSetLengthNegativeOrZero=73,
	ECircNoBufferAllocated=74,
	ECircAddCountNegative=75,
	ECircRemoveCountNegative=76,
	EConsGetchFailed=77,
	ESecurityData=78,
	EBmaInconsistentState=79,
	EBmaAllocFromOutOfRange=80,
	EBmaAllocCountNegative=81,
	EBmaAllAlgnOutOfRange=82,
	EBmaAllAlgnBOutOfRange=83,
	EBmaAllocBlkOutOfRange=84,
	EBmaChkBlkOutOfRange=85,
	EBmaFreeBlkOutOfRange=86,
	EBmaFreeBlkNotAllocated=87,
	EBmaAllocBlkNotFree=88,
    };

#endif
