summaryrefslogtreecommitdiff
path: root/fpcsrc/rtl/symbian/symbianinc/e32err.inc
blob: faf9da6745a89059d1441b98975640a93fe81a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
{%MainUnit ../symbian.pas}

{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2007 by contributors of the Free Pascal Compiler

    This file is a pascal translation of the Symbian OS headers

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************}

{ e32\include\e32err.h

  Copyright (c) 1994-2001 Symbian Ltd. All rights reserved.
 }


//#include <e32def.h>




{
System wide error code - no error.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrNone=0;




{
System wide error code - item not found.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrNotFound=(-1); // Must remain set to -1




{
System wide error code - an error that has no specific categorisation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrGeneral=(-2);




{
System wide error code - indicates an operation that has been cancelled.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCancel=(-3);




{
System wide error code - an attempt to allocate memory has failed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrNoMemory=(-4);




{
System wide error code - some functionality is not supported in a given context.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

There may be many reasons for this; for example, a device may not support
some specific behaviour.
}
const KErrNotSupported=(-5);




{
System wide error code - an argument is out of range.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrArgument=(-6);




{
System wide error code - a calculation has lost precision.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

This 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.
}
const KErrTotalLossOfPrecision=(-7);




{
System wide error code - an invalid handle has been passed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

A function involving a resource owned by a server or the kernel has
specified an invalid handle.
}
const KErrBadHandle=(-8);




{
System wide error code - indicates an overflow in some operation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

In 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.
}
const KErrOverflow=(-9);




{
System wide error code - indicates an underflow in some operation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

In 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.
}
const KErrUnderflow=(-10);




{
System wide error code - an object already exists.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

An object of some name/type is to be created, but an object of
that name/type already exists.
}
const KErrAlreadyExists=(-11);




{
System wide error code - in the context of file operations, a path
was not found.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrPathNotFound=(-12);




{
System wide error code - a handle refers to a thread that has died.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDied=(-13);




{
System wide error code - a requested resource is already in exclusive use.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrInUse=(-14);




{
System wide error code - a client/server send/receive operation cannot run,
because the server has terminated.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrServerTerminated=(-15);




{
System wide error code - a client/server send/receive operation cannot run,
because the server is busy handling another request.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrServerBusy=(-16);




{
System wide error code - indicates that an operation is complete,
successfully or otherwise.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

This code may be used to indicate that some follow on operation can take place.
It does not necessarily indicate an error condition.
}
const KErrCompletion=(-17);




{
System wide error code - indicates that a device required by an i/o operation
is not ready to start operations.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

A common reason for returning this code is because a device has not been
initialised, or has no power.
}
const KErrNotReady=(-18);




{
System wide error code - a device is of unknown type.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrUnknown=(-19);




{
System wide error code - indicates that some media is not formatted properly,
or links between sections of it have been corrupted.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCorrupt=(-20);




{
System wide error code - access to a file is denied, because the permissions on
the file do not allow the requested operation to be performed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrAccessDenied=(-21);




{
System wide error code - an operation cannot be performed, because the part
of the file to be read or written is locked.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrLocked=(-22);




{
System wide error code - during a file write operation, not all the data
could be written.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrWrite=(-23);




{
System wide error code - a volume which was to be used for a file system
operation has been dismounted.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDisMounted=(-24);




{
System wide error code - indicates that end of file has been reached.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.

Note that RFile::Read() is a higher-level interface. When the end of
the file is reached, it returns zero bytes in the destination descriptor, and
a KErrNone return value. KErrEof is not used for this purpose; other error
conditions are returned only if some other error condition was indicated on
the file.
}
const KErrEof=(-25);




{
System wide error code - a write operation cannot complete, because the disk
is full.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDiskFull=(-26);




{
System wide error code - a driver DLL is of the wrong type.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrBadDriver=(-27);




{
System wide error code - a file name or other object name does not conform to
the required syntax.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrBadName=(-28);




{
System wide error code - a communication line has failed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCommsLineFail=(-29);




{
System wide error code - a frame error has occurred in
a communications operation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCommsFrame=(-30);




{
System wide error code - an overrun has been detected by
a communications driver.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCommsOverrun=(-31);




{
System wide error code - a parity error has occurred in communications.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCommsParity=(-32);




{
System wide error code - an operation has timed out.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrTimedOut=(-33);




{
System wide error code - a session could not connect.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCouldNotConnect=(-34);




{
System wide error code - a session could not disconnect.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCouldNotDisconnect=(-35);




{
System wide error code - a function could not be executed because the required
session was disconnected.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDisconnected=(-36);




{
System wide error code - a library entry point was not of the required type.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrBadLibraryEntryPoint=(-37);




{
System wide error code - a non-descriptor parameter was passed by
a client interface, when a server expected a descriptor.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrBadDescriptor=(-38);




{
System wide error code - an operation has been aborted.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrAbort=(-39);




{
System wide error code - a number was too big.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrTooBig=(-40);




{
System wide error code - a divide-by-zero operation has been attempted.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDivideByZero=(-41);		// Added by AnnW




{
System wide error code - insufficient power was available to
complete an operation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrBadPower=(-42);




{
System wide error code - an operation on a directory has failed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrDirFull=(-43);




{
System wide error code - an operation cannot be performed because
the necessary hardware is not available.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrHardwareNotAvailable=(-44);




{
System wide error code - the completion status when an outstanding
client/server message is completed because a shared session has been closed.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrSessionClosed=(-45);




{
System wide error code - an operation cannot be performed due to
a potential security violation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrPermissionDenied=(-46);



{
System wide error code - a requested extension function is not
supported by the object concerned.

}
const KErrExtensionNotSupported=(-47);



{
System wide error code - a break has occurred in
a communications operation.

A system wide error code indicates an error in the environment, or in
user input from which a program may recover.
}
const KErrCommsBreak=(-48);