1= LibreOffice error codes
2Since various people have reported issues using unoconv related to LibreOffice,
3it's clear we need to list the various errors and give some explanation.
4
5If you have more information to improve this document, let me know !
6
7== How to decipher LibreOffice error codes
8Unfortunately the LibreOffice error codes is a combination of project area,
9error class and error code. The combination of these three provides some
10indication of what the cause is, although in most cases this is not conclusive.
11
12The authoritative source for ErrCodes are the following files:
13
14List of ErrCode classifications::
15 - http://docs.libreoffice.org/tools/html/errcode_8hxx_source.html
16
17List of other related ErrCode classifications::
18 - http://docs.libreoffice.org/svtools/html/sfxecode_8hxx.html
19 - http://docs.libreoffice.org/svtools/html/soerr_8hxx.html
20
21----
2201234567012345670123456701234567
23||   ||          |||   ||      |
24Warning           ||   ||      |
25 |   ||           ||   ||      |
26 Dynamic          ||   ||      |
27      |           ||   ||      |
28      Subsystemarea|   ||      |
29                   |   ||      |
30                   |   ||      |
31                   |   ||      |
32                   Class|      |
33                        |      |
34                        |      |
35                        |      |
36                        Code
37----
38
39
40== UnoException ErrCode
41
42=== 283
43Binary: 000:00001:00011011
44
45    Area: 0 (ERRCODE_AREA_TOOLS)
46    Class: 1 (ERRCODE_CLASS_ABORT)
47    Code: 27 (ERRCODE_IO_ABORT)
48
49=== 1287
50Binary: 000:00101:00000111
51
52    Area: 0 (ERRCODE_AREA_TOOLS)
53    Class: 5 (ERRCODE_CLASS_ACCESS)
54    Code: 7 (ERRCODE_IO_ACCESSDENIED)
55
56=== 2074
57Binary: 000:01000:00011010
58
59    Area: 0 (ERRCODE_AREA_TOOLS)
60    Class: 8 (ERRCODE_CLASS_PARAMETER)
61    Code: 26 (ERRCODE_IO_INVALIDPARAMETER)
62
63=== 3088
64Binary: 000:01100:00010000
65
66    Area: 0 (ERRCODE_AREA_TOOLS)
67    Class: 12 (ERRCODE_CLASS_WRITE)
68    Code: 16 (ERRCODE_IO_CANTWRITE)
69
70=== 19468 -- ERRCODE_SFX_DOCUMENTREADONLY
71Binary: 010:01100:00001100
72
73    Area: 2 (ERRCODE_AREA_SFX)
74    Class: 12 (ERRCODE_CLASS_WRITE)
75    Code: 12 (ERRCODE_IO_NOTSUPPORTED)
76