1//========================================================================
2//
3// SplashErrorCodes.h
4//
5//========================================================================
6
7//========================================================================
8//
9// Modified under the Poppler project - http://poppler.freedesktop.org
10//
11// All changes made under the Poppler project to this file are licensed
12// under GPL version 2 or later
13//
14// Copyright (C) 2006, 2009 Albert Astals Cid <aacid@kde.org>
15//
16// To see a description of the changes please see the Changelog file that
17// came with your tarball or type make ChangeLog if you are building from git
18//
19//========================================================================
20
21#ifndef SPLASHERRORCODES_H
22#define SPLASHERRORCODES_H
23
24//------------------------------------------------------------------------
25
26#define splashOk 0 // no error
27
28#define splashErrNoCurPt 1 // no current point
29
30#define splashErrEmptyPath 2 // zero points in path
31
32#define splashErrBogusPath 3 // only one point in subpath
33
34#define splashErrNoSave 4 // state stack is empty
35
36#define splashErrOpenFile 5 // couldn't open file
37
38#define splashErrNoGlyph 6 // couldn't get the requested glyph
39
40#define splashErrModeMismatch 7 // invalid combination of color modes
41
42#define splashErrSingularMatrix 8 // matrix is singular
43
44#define splashErrBadArg 9 // bad argument
45
46#define splashErrZeroImage 254 // image of 0x0
47
48#define splashErrGeneric 255
49
50#endif
51

source code of poppler/splash/SplashErrorCodes.h