Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\include\e32err.h
34 System wide error code 0 : this represents the no-error condition.
36 A system wide error code indicates an error in the environment, or in
37 user input from which a program may recover.
39 const TInt KErrNone=0;
45 System wide error code -1 : item not found.
47 A system wide error code indicates an error in the environment, or in
48 user input from which a program may recover.
50 const TInt KErrNotFound=(-1); // Must remain set to -1
56 System wide error code -2 : an error that has no specific categorisation.
58 A system wide error code indicates an error in the environment, or in
59 user input from which a program may recover.
61 const TInt KErrGeneral=(-2);
67 System wide error code -3 : indicates an operation that has been cancelled.
69 A system wide error code indicates an error in the environment, or in
70 user input from which a program may recover.
72 const TInt KErrCancel=(-3);
78 System wide error code -4 : an attempt to allocate memory has failed.
80 A system wide error code indicates an error in the environment, or in
81 user input from which a program may recover.
83 const TInt KErrNoMemory=(-4);
89 System wide error code -5 : some functionality is not supported in a given context.
91 A system wide error code indicates an error in the environment, or in
92 user input from which a program may recover.
94 There may be many reasons for this; for example, a device may not support
95 some specific behaviour.
97 const TInt KErrNotSupported=(-5);
103 System wide error code -6 : an argument is out of range.
105 A system wide error code indicates an error in the environment, or in
106 user input from which a program may recover.
108 const TInt KErrArgument=(-6);
114 System wide error code -7 : a calculation has lost precision.
116 A system wide error code indicates an error in the environment, or in
117 user input from which a program may recover.
119 This error arises when converting from an internal 96-bit real representation
120 to a TReal32; the exponent of the internal representation is so small
121 that the 32-bit real cannot contain it.
123 const TInt KErrTotalLossOfPrecision=(-7);
129 System wide error code -8 : an invalid handle has been passed.
131 A system wide error code indicates an error in the environment, or in
132 user input from which a program may recover.
134 A function involving a resource owned by a server or the kernel has
135 specified an invalid handle.
137 const TInt KErrBadHandle=(-8);
143 System wide error code -9 : indicates an overflow in some operation.
145 A system wide error code indicates an error in the environment, or in
146 user input from which a program may recover.
148 In the context of mathematical or time/date functions, indicates a calculation
149 that has produced arithmetic overflow exceeding the bounds allowed by
152 In the context of data transfer, indicates that a buffer has over-filled
153 without being emptied soon enough.
155 const TInt KErrOverflow=(-9);
161 System wide error code -10 : indicates an underflow in some operation.
163 A system wide error code indicates an error in the environment, or in
164 user input from which a program may recover.
166 In the context of mathematical or time/date functions, indicates a calculation
167 that has produced a result smaller than the smallest magnitude of
168 a finite number allowed by the representation.
170 In the context of data transfer, indicates that a buffer was under-filled
171 when data was required.
173 const TInt KErrUnderflow=(-10);
179 System wide error code -11 : an object already exists.
181 A system wide error code indicates an error in the environment, or in
182 user input from which a program may recover.
184 An object of some name/type is to be created, but an object of
185 that name/type already exists.
187 const TInt KErrAlreadyExists=(-11);
193 System wide error code -12 : in the context of file operations, a path
196 A system wide error code indicates an error in the environment, or in
197 user input from which a program may recover.
199 const TInt KErrPathNotFound=(-12);
205 System wide error code -13 : a handle refers to a thread that has died.
207 A system wide error code indicates an error in the environment, or in
208 user input from which a program may recover.
210 const TInt KErrDied=(-13);
216 System wide error code -14 : a requested resource is already in exclusive use.
218 A system wide error code indicates an error in the environment, or in
219 user input from which a program may recover.
221 const TInt KErrInUse=(-14);
227 System wide error code -15 : client/server send/receive operation cannot run,
228 because the server has terminated.
230 A system wide error code indicates an error in the environment, or in
231 user input from which a program may recover.
233 const TInt KErrServerTerminated=(-15);
239 System wide error code -16 : a client/server send/receive operation cannot run,
240 because the server is busy handling another request.
242 A system wide error code indicates an error in the environment, or in
243 user input from which a program may recover.
245 const TInt KErrServerBusy=(-16);
251 System wide error code -17 : indicates that an operation is complete,
252 successfully or otherwise.
254 A system wide error code indicates an error in the environment, or in
255 user input from which a program may recover.
257 This code may be used to indicate that some follow on operation can take place.
258 It does not necessarily indicate an error condition.
260 const TInt KErrCompletion=(-17);
266 System wide error code -18 : indicates that a device required by an i/o operation
267 is not ready to start operations.
269 A system wide error code indicates an error in the environment, or in
270 user input from which a program may recover.
272 A common reason for returning this code is because a device has not been
273 initialised, or has no power.
275 const TInt KErrNotReady=(-18);
281 System wide error code -19 : a device is of unknown type.
283 A system wide error code indicates an error in the environment, or in
284 user input from which a program may recover.
286 const TInt KErrUnknown=(-19);
292 System wide error code -20 : indicates that some media is not formatted properly,
293 or links between sections of it have been corrupted.
295 A system wide error code indicates an error in the environment, or in
296 user input from which a program may recover.
298 const TInt KErrCorrupt=(-20);
304 System wide error code -21 : access to a file is denied, because the permissions on
305 the file do not allow the requested operation to be performed.
307 A system wide error code indicates an error in the environment, or in
308 user input from which a program may recover.
310 const TInt KErrAccessDenied=(-21);
316 System wide error code -22 : an operation cannot be performed, because the part
317 of the file to be read or written is locked.
319 A system wide error code indicates an error in the environment, or in
320 user input from which a program may recover.
322 const TInt KErrLocked=(-22);
328 System wide error code -23 : during a file write operation, not all the data
331 A system wide error code indicates an error in the environment, or in
332 user input from which a program may recover.
334 const TInt KErrWrite=(-23);
340 System wide error code -24 : a volume which was to be used for a file system
341 operation has been dismounted.
343 A system wide error code indicates an error in the environment, or in
344 user input from which a program may recover.
346 const TInt KErrDisMounted=(-24);
352 System wide error code -25 : indicates that end of file has been reached.
354 A system wide error code indicates an error in the environment, or in
355 user input from which a program may recover.
357 Note that RFile::Read() is a higher-level interface. When the end of
358 the file is reached, it returns zero bytes in the destination descriptor, and
359 a KErrNone return value. KErrEof is not used for this purpose; other error
360 conditions are returned only if some other error condition was indicated on
363 const TInt KErrEof=(-25);
369 System wide error code -26 : a write operation cannot complete, because the disk
372 A system wide error code indicates an error in the environment, or in
373 user input from which a program may recover.
375 const TInt KErrDiskFull=(-26);
381 System wide error code -27 : a driver DLL is of the wrong type.
383 A system wide error code indicates an error in the environment, or in
384 user input from which a program may recover.
386 const TInt KErrBadDriver=(-27);
392 System wide error code -28 : a file name or other object name does not conform to
395 A system wide error code indicates an error in the environment, or in
396 user input from which a program may recover.
398 const TInt KErrBadName=(-28);
404 System wide error code -29 : a communication line has failed.
406 A system wide error code indicates an error in the environment, or in
407 user input from which a program may recover.
409 const TInt KErrCommsLineFail=(-29);
415 System wide error code -30 : a frame error has occurred in
416 a communications operation.
418 A system wide error code indicates an error in the environment, or in
419 user input from which a program may recover.
421 const TInt KErrCommsFrame=(-30);
427 System wide error code -31 : an overrun has been detected by
428 a communications driver.
430 A system wide error code indicates an error in the environment, or in
431 user input from which a program may recover.
433 const TInt KErrCommsOverrun=(-31);
439 System wide error code -32 : a parity error has occurred in communications.
441 A system wide error code indicates an error in the environment, or in
442 user input from which a program may recover.
444 const TInt KErrCommsParity=(-32);
450 System wide error code -33 : an operation has timed out.
452 A system wide error code indicates an error in the environment, or in
453 user input from which a program may recover.
455 const TInt KErrTimedOut=(-33);
461 System wide error code -34 : a session could not connect.
463 A system wide error code indicates an error in the environment, or in
464 user input from which a program may recover.
466 const TInt KErrCouldNotConnect=(-34);
472 System wide error code -35 : a session could not disconnect.
474 A system wide error code indicates an error in the environment, or in
475 user input from which a program may recover.
477 const TInt KErrCouldNotDisconnect=(-35);
483 System wide error code -36 : a function could not be executed because the required
484 session was disconnected.
486 A system wide error code indicates an error in the environment, or in
487 user input from which a program may recover.
489 const TInt KErrDisconnected=(-36);
495 System wide error code -37 : a library entry point was not of the required type.
497 A system wide error code indicates an error in the environment, or in
498 user input from which a program may recover.
500 const TInt KErrBadLibraryEntryPoint=(-37);
506 System wide error code -38 : a non-descriptor parameter was passed by
507 a client interface, when a server expected a descriptor.
509 A system wide error code indicates an error in the environment, or in
510 user input from which a program may recover.
512 const TInt KErrBadDescriptor=(-38);
518 System wide error code -39 : an operation has been aborted.
520 A system wide error code indicates an error in the environment, or in
521 user input from which a program may recover.
523 const TInt KErrAbort=(-39);
529 System wide error code -40 : a number was too big.
531 A system wide error code indicates an error in the environment, or in
532 user input from which a program may recover.
534 const TInt KErrTooBig=(-40);
540 System wide error code -41 : a divide-by-zero operation has been attempted.
542 A system wide error code indicates an error in the environment, or in
543 user input from which a program may recover.
545 const TInt KErrDivideByZero=(-41); // Added by AnnW
551 System wide error code -42 : insufficient power was available to
552 complete an operation.
554 A system wide error code indicates an error in the environment, or in
555 user input from which a program may recover.
557 const TInt KErrBadPower=(-42);
563 System wide error code -43 : an operation on a directory has failed.
565 A system wide error code indicates an error in the environment, or in
566 user input from which a program may recover.
568 const TInt KErrDirFull=(-43);
574 System wide error code -44 : an operation cannot be performed because
575 the necessary hardware is not available.
577 A system wide error code indicates an error in the environment, or in
578 user input from which a program may recover.
580 const TInt KErrHardwareNotAvailable=(-44);
586 System wide error code -45 : the completion status when an outstanding
587 client/server message is completed because a shared session has been closed.
589 A system wide error code indicates an error in the environment, or in
590 user input from which a program may recover.
592 const TInt KErrSessionClosed=(-45);
598 System wide error code -46 : an operation cannot be performed due to
599 a potential security violation.
601 A system wide error code indicates an error in the environment, or in
602 user input from which a program may recover.
604 const TInt KErrPermissionDenied=(-46);
609 System wide error code -47 : a requested extension function is not
610 supported by the object concerned.
613 const TInt KErrExtensionNotSupported=(-47);
618 System wide error code -48 : a break has occurred in
619 a communications operation.
621 A system wide error code indicates an error in the environment, or in
622 user input from which a program may recover.
624 const TInt KErrCommsBreak=(-48);
628 System wide error code -49 : a trusted time source could not be found
629 and any time value given in conjunction with this error code should
630 not be trusted as correct.
632 const TInt KErrNoSecureTime =(-49);