Symbian OS 错误代码(-100 - 0)

Generic Errors

KErrNone 0 
KErrNotFound -1Unable to find the specified object
KErrGeneral -2General (unspecified) error
KErrCancel -3The operation was cancelled
KErrNoMemory -4Not enough memory
KErrNotSupported -5The operation requested is not supported
KErrArgument -6An argument is out of range
KErrTotalLossOfPrecision -7This error arises when converting from an internal 96-bit real representation to a TReal32; the exponent of the internal representation is so small that the 32-bit real cannot contain it.
KErrBadHandle -8An invalid handle has been passed. A function involving a resource owned by a server or the kernel has specified an invalid handle.
KErrOverflow -9In the context of mathematical or time/date functions, indicates a calculation that has produced arithmetic overflow exceeding the bounds allowed by the representation. In the context of data transfer, indicates that a buffer has over-filled without being emptied soon enough.
KErrUnderflow -10In the context of mathematical or time/date functions, indicates a calculation that has produced a result smaller than the smallest magnitude of a finite number allowed by the representation. In the context of data transfer, indicates that a buffer was under-filled when data was required.
KErrAlreadyExists -11Already exists
KErrPathNotFound -12Unable to find the specified folder
KErrDied -13A handle refers to a thread that has died.
KErrInUse -14A requested resource is already in exclusive use.
KErrServerTerminated -15Client/server send/receive operation cannot run, because the server has terminated.
KErrServerBusy -16A client/server send/receive operation cannot run, because the server is busy handling another request.
KErrCompletion -17An operation is complete, successfully or otherwise. This code may be used to indicate that some follow on operation can take place. It does not necessarily indicate an error condition.
KErrNotReady -18A device required by an i/o operation is not ready to start operations. A common reason for returning this code is because a device has not been initialised, or has no power.
KErrUnknown -19Unknown error
KErrCorrupt -20Some media is not formatted properly, or links between sections of it have been corrupted.
KErrAccessDenied -21Access denied
KErrLocked -22An operation cannot be performed, because the part of the file to be read or written is locked.
KErrWrite -23During a file write operation, not all the data could be written.
KErrDisMounted -24A volume which was to be used for a file system operation has been dismounted.
KErrEof -25End of file has been reached.
KErrDiskFull -26Disk full
KErrBadDriver -27A driver DLL is of the wrong type.
KErrBadName -28A file name or other object name does not conform to the required syntax.
KErrCommsLineFail -29Comms line failed
KErrCommsFrame -30A frame error has occurred in a communications operation.
KErrCommsOverrun -31An overrun has been detected by a communications driver.
KErrCommsParity -32A parity error has occurred in communications.
KErrTimedOut -33Timed out
KErrCouldNotConnect -34Failed to connect
KErrCouldNotDisconnect -35Failed to disconnect
KErrDisconnected -36A function could not be executed because the required session was disconnected.
KErrBadLibraryEntryPoint -37A library entry point was not of the required type.
KErrBadDescriptor -38A non-descriptor parameter was passed by a client interface, when a server expected a descriptor.
KErrAbort -39An operation has been aborted
KErrTooBig -40A number was too big
KErrDivideByZero -41Divide by zero
KErrBadPower -42Insufficient power was available to complete an operation.
KErrDirFull -43An operation on a directory has failed.
KErrHardwareNotAvailable  -44An operation cannot be performed because the necessary hardware is not available
KErrSessionClosed -45The completion status when an outstanding client/server message is completed because a shared session has been closed.
KErrPermissionDenied  -46An operation cannot be performed due to a potential security violation.
KErrExtensionNotSupported -47A requested extension function is not supported by the object concerned.
KErrCommsBreak  -48A break has occurred in a communications operation.
KErrMsgBioMessageNotValid-90

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值