# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case DocumentError.success:
            	return 0;
          	case DocumentError.insufficientBuffer:
            	return -1;
          	case DocumentError.objectDoesNotExist:
            	return -2;
          	case DocumentError.base:
            	return -11000;
          	case DocumentError.minimum:
            	return -11999;
          	case DocumentError.invalidHandle:
            	return -11001;
          	case DocumentError.invalidParameter:
            	return -11002;
          	case DocumentError.invalidPixelFormat:
            	return -11004;
          	case DocumentError.invalidModelPath:
            	return -11008;
          	case DocumentError.invalidDocumentTemplatePath:
            	return -11009;
          	case DocumentError.unloadedModel:
            	return -11020;
          	case DocumentError.unloadedDocumentTemplate:
            	return -11021;
          	case DocumentError.unknownAnnotation:
            	return -11022;
          	case DocumentError.invalidDocumentTemplateFormat:
            	return -11023;
          	case DocumentError.insufficientFrameNumber:
            	return -11030;
          	case DocumentError.backendError:
            	return -11039;
          	case DocumentError.inferenceBackendError:
            	return -11040;
          	case DocumentError.processingUnitUnavailable:
            	return -11041;
          	case DocumentError.functionNotImplemented:
            	return -11056;
    	}
      	}