[Front] [Prev Chapter]

Appendix A - Error Codes


Table A-1 lists the error codes that the multitasker can return in numerical order. Codes above 4000 hex are generated by the VM module, others may be generated by any module.

The error codes that can be anticipated have been listed under each function call. Other codes should never be generated by calls from applications, but it is difficult to be certain what might happen in extreme circumstances, so for completeness they are all listed here.

The file ERR.DEF provides assembly language equates between all the error names and their values.
Table A-1
Multitasker Error Codes

Error name

Value (hex)

Meaning

E_NotImplemented

0001

Not implemented

E_BadEntry

0002

Illegal function number

E_NoMemory

0003

Cannot find memory

E_BadFlag

0004

Illegal flag number

E_FlagOverrun

0005

Flag overrun

E_FlagUnderrun

0006

Flag underrun

E_NoQHandle

0007

No unused queue handles

E_NoQBuf

0008

No free queue buffers

E_NoQueue

0009

Cannot find queue on queue list

E_QInUse

000A

Queue in use

E_BadPHandle

000B

Process handle is bad

E_NoPHandle

000C

No free process handles

E_QProtected

000D

No queue access allowed

E_QEmpty

000E

Empty queue

E_QFull

000F

Full queue

E_NoMHandle

0012

No unused memory handle

E_NoPName

0014

Cannot find process in process list

E_BadMHandle

001B

Illegal memory handle

E_PNotTerminated

0023

Could not terminate process

E_FlagIgnored

002A

Flag set ignored

E_NoFlag

002D

No more system flags

E_FlagBusy

002E

Flag not in idle state

E_FlagTimeout

002F

Flag wait has timed out

E_BadModule

0030

Illegal module number

E_BadDesc

0031

Descriptor is bad

E_NoDesc

0032

No more descriptors

E_BadLock

0033

Error locking/unlocking a page

E_BadPage

0034

Error getting/setting page

E_NoPage

0035

No free pages

E_BadDomain

0036

Domain is invalid

E_AlreadyFrozen

0037

Process is already frozen

E_NotFrozen

0038

Process is not frozen

E_NoSwaplist

0039

Fork failure, no swaplist registered

E_PageFree

003A

Cannot free an already free page

E_PageAllocate

003B

Cannot allocate an already allocated page

E_Switcher

003C

Cannot switch tasks

E_CritUnderrun

003D

Freeing critical section we are not in

E_CritOverrun

003E

Critical sections nested too deeply

E_NoContext

41FF

No domain in context, or current domain invalid

E_DomainNotExist

42FF

Domain id is not a valid descriptor

E_DomainNotCreated

43FF

Domain creation not yet completed

E_DomainDeleted

44FF

Domain is being deleted

E_TMBusy

45FF

Cannot unload task manager while busy

E_TMLoaded

46FF

Cannot load task manager, already loaded

E_TMNotLoaded

47FF

Cannot unload task manager, not yet loaded

E_InSwitch

48FF

Cannot save/restore, previous switch not finished

E_CnsOwned

49FF

Cannot get/restore, console already has an owner

E_BggrOpcode

4BFF

Cannot decode opcode, not supported

E_BggrAddr32

4CFF

32-bit addressing prefix not supported

E_TimeoutRemove

4FFF

Timeout not on timer queue

E_TimeoutQlock

50FF

Could not lock timer queue

E_InGlobalMsgMode

53FF

Cannot switch while in Global Message Mode

E_MsgGlobalEnter

54FF

Error setting Global Message Mode

E_MsgGlobalExit

55FF

Not in Global Message Mode

E_MsgDomEnter

56FF

Error setting Domain Message Mode; system in this mode already

E_MsgDomExit

57FF

Not in Domain Message Mode

E_TimeoutAlloc

58FF

Could not allocate a timeout structure

E_VideoType

59FF

Cannot deal with video type

E_NotHandled

5AFF

No VM module handled the function

E_COMSet

5BFF

Error in "Serial..Set" call

E_LPTSet

5CFF

Error in "Parallel..Set" call

E_NoDom

5DFF

Domain list overflow

E_NoBuffersMode

5FFF

Cannot free domain because it is in nobuffers mode



[Front] [Prev Chapter]

info@caldera.com
Copyright © 1994, 1997, Caldera, Inc. All rights reserved.