PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
errors.h File Reference

Error codes. More...

#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef enum PDErrCodes PDErrCodes
 
typedef int32_t PDErrCode
 

Enumerations

enum  PDErrCodes {
  kPDErrCanceled = -1 , kPDErrSuccess = 0 , kPDErrNotInitialized , kPDErrBadParam ,
  kPDErrNotFound , kPDErrOutOfRange , kPDErrInternalError , kPDErrAlreadyExists ,
  kPDErrBufferTooSmall , kPDErrAccessDenied , kPDErrUnknown , kPDErrTooManyOpenDocuments ,
  kPDErrFileIsLocked , kPDErrInvalidSyntax , kPDErrWrongObjectType , kPDErrFontSubstitutionFailed ,
  kPDErrUnknownSecurityHandler , kPDErrLicenseInvalidKey , kPDErrLicenseSuspended , kPDErrLicenseServerUnreachable ,
  kPDErrLicenseRestriction
}
 

Detailed Description

Error codes.

Typedef Documentation

◆ PDErrCode

typedef int32_t PDErrCode

Error code type.

See also
PDErrCodes

◆ PDErrCodes

typedef enum PDErrCodes PDErrCodes

Error codes.

Enumeration Type Documentation

◆ PDErrCodes

enum PDErrCodes

Error codes.

Enumerator
kPDErrCanceled 

Operation was cancelled by user.

kPDErrSuccess 

Operation was successful.

kPDErrNotInitialized 

SDK library not initialized.

kPDErrBadParam 

Bad input parameter.

kPDErrNotFound 

Object not found.

kPDErrOutOfRange 

Value out of range.

kPDErrInternalError 

Internal error.

kPDErrAlreadyExists 

Object already exists.

kPDErrBufferTooSmall 

Memory buffer too small, increase buffer size.

kPDErrAccessDenied 

Operation not authorized.

kPDErrUnknown 

Unknown error.

kPDErrTooManyOpenDocuments 

Operation failed. Too many open documents.

kPDErrFileIsLocked 

Unable to execute operation. File is locked.

kPDErrInvalidSyntax 

Invalid syntax.

kPDErrWrongObjectType 

Operation unsuccessful. Different object type expected.

kPDErrFontSubstitutionFailed 

Failed to substitute font.

kPDErrUnknownSecurityHandler 

Unknown security handler.

kPDErrLicenseInvalidKey 

Invalid license key.

kPDErrLicenseSuspended 

The license key has been suspended.

kPDErrLicenseServerUnreachable 

The license server is unreachable.

kPDErrLicenseRestriction 

Requested features are not available in the current license.