CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
Loading...
Searching...
No Matches
CartoTypeResultCode.h
Go to the documentation of this file.
1/*
2CartoTypeResultCode.h
3Copyright 2011-2024 CartoType Ltd.
4See www.cartotype.com for more information.
5*/
6
7#ifndef CartoTypeResultCode_h__
8#define CartoTypeResultCode_h__
9
14
20typedef NS_ENUM(NSInteger,CtError)
21 {
23 CtErrorNone = 0,
24
30 CtErrorGeneral = 1,
31
33 CtErrorNoMemory = 2,
34
40 CtErrorEndOfData = 3,
41
46 CtErrorTextUnmodifiable = 4,
47
53 CtErrorTextTruncated = 5,
54
61 CtErrorNotFound = 6,
62
69 CtErrorUnimplemented = 7,
70
76 CtErrorInvalidOutline = 8,
77
85 CtErrorIo = 9,
86
91 CtErrorCorrupt = 10,
92
99 CtErrorUnknownDataFormat = 11,
100
105 CtErrorNoInverse = 12,
106
111 CtErrorProjectionOverflow = 13,
112
120 CtErrorCancel = 14,
121
125 CtErrorInvalidArgument = 15,
126
130 CtErrorUnknownVersion = 16,
131
136 CtErrorOverflow = 17,
137
138 // ABOLISHED: CtErrorOverlap = 18,
139
143 CtErrorParallelLines = 19,
144
145 // ABOLISHED: CtErrorPathLengthExceeded = 20,
146
147 // ABOLISHED: CtErrorMaxTurnExceeded = 21,
148
153 CtErrorNoPalette = 22,
154
159 CtErrorDuplicate = 23,
160
165 CtErrorNoProjection = 24,
166
170 CtErrorPaletteFull = 25,
171
175 CtErrorInvalidDashArray = 26,
176
180 CtErrorCentralPath = 27,
181
186 CtErrorNoRoute = 28,
187
191 CtErrorZoomLimitReached = 29,
192
196 CtErrorAlreadyProjected = 30,
197
201 CtErrorConditionsTooDeeplyNested = 31,
202
206 CtErrorNullFont = 32,
207
211 CtErrorInternetIo = 33,
212
216 CtErrorDivideByZero = 34,
217
221 CtErrorTransformFailed = 35,
222
226 CtErrorPngRead = 36,
227
231 CtErrorJpgRead = 37,
232
236 CtErrorNoIntersection = 38,
237
241 CtErrorInterrupt = 39,
242
247 CtErrorMapDataBaseFormatMismatch = 40,
248
250 CtErrorEncryptionKeyTooShort = 41,
251
253 CtErrorNoEncryptionKey = 42,
254
256 CtErrorEmergencyMessage = 43,
257
259 CtErrorAlertMessage = 44,
260
262 CtErrorCriticalMessage = 45,
263
265 CtErrorErrorMessage = 46,
266
268 CtErrorWarningMessage = 47,
269
271 CtErrorNoticeMessage = 48,
272
274 CtErrorInfoMessage = 49,
275
277 CtErrorDebugMessage = 50,
278
280 CtErrorNotNavigating = 51,
281
283 CtErrorNoFramework = 52,
284
286 CtErrorFrameworkAlreadyExists = 53,
287
289 CtErrorUntransliterable = 54,
290
292 CtErrorPngWrite = 55,
293
295 CtErrorReadOnlyMapDataBase = 56,
296
298 CtErrorProj4 = 57,
299
301 CtErrorNoRoadsNearStartOfRoute = 59,
302
304 CtErrorNoRoadsNearEndOfRoute = 60,
305
307 CtErrorNoRouteConnectivity = 61,
308
310 CtErrorXmlFeatureNotSupported = 62,
311
313 CtErrorMapNotFound = 63,
314
316 CtErrorFontNotFound = 64,
317
319 CtErrorStyleSheetNotFound = 65,
320
322 CtErrorFeatureInfoIsNotRoute = 66,
323
325 CtErrorFeatureInfoIsRoute = 67,
326
328 CtErrorNoRouteData = 68,
329
331 CtErrorTooManyFontsInStyleSheet = 69,
332
334 CtErrorTooManyBoxStylesInStyleSheet = 70,
335
337 CtErrorNoRoad = 71,
338
340 CtErrorRouteOutsideMap = 72,
341
348 CtErrorXmlRangeStart = 0x10000000,
349
351 CtErrorXmlRangeEnd = 0x2AFFFFFF,
352
357 CtErrorSQLite = 0x30000000
358 };
359
360typedef CtError CartoTypeError;
361
363typedef uint32_t CtResult;
364
365#endif
typedef NS_ENUM(NSInteger, CtError)
Definition CartoTypeResultCode.h:20
uint32_t CtResult
Definition CartoTypeResultCode.h:363
CtError CartoTypeError
Definition CartoTypeResultCode.h:360