CX_StatusCodes enum

Command Extension plug-in error codes

Syntax

enum
{
   CXE_OK =0,
   CXE_Error = -1,
   CXE_InvalidOp = -2,
   CXE_InvalidParam = -3,
   CXE_NotImplemented = -4,
   CXE_InvalidCommand = -5,
   CXE_Cancelled = -6,
   CXE_ImageDecodeFailure = -7,
   CXE_InvalidPage = -8,
   CXE_Malloc = -9,
   CXE_Decode = -10,
   CXE_FatalError = -11,
   CXE_HostVersion = -12,
   CXE_NoMetadata = -13,
   CXE_FileNotFound = -14,
                                  
   CXE_FirstPlugInError = -1000,
};

Constants

Value Meaning

CXE_OK

Success

CXE_Error

Unspecified error

CXE_InvalidOp

Operation cannot be completed at this time

CXE_InvalidParam

Invalid parameters

CXE_NotImplemented

Missing implementation

CXE_InvalidCommand

The specified command index is invalid

CXE_Cancelled

Operation cancelled by user

CXE_ImageDecodeFailure

The specified image could not be decoded

CXE_InvalidPage

The specified page index is invalid

CXE_Malloc

Memory allocation error

CXE_Decode

Image decode error

CXE_FatalError

Unhandled exception

CXE_HostVersion

Host application does not support correct plug-in interface version

CXE_NoMetadata

The specified metadata item is not specified in the image

CXE_FileNotFound

The specified file could not be found

CXE_FirstPlugInError

Plug-in-defined errors start at -1000

Remarks

There are two types of error codes associated with an CX_Plugin, standard and plug-in-defined. Standard error codes are defined below and are implemented by the host application, while plug-in-defined error codes are defined by the plug-in.

Requirements

Header: CX_PlugIn.h