# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case FaceError.success:
            	return 0;
          	case FaceError.insufficientBuffer:
            	return -1;
          	case FaceError.objectDoesNotExist:
            	return -2;
          	case FaceError.base:
            	return -1000;
          	case FaceError.minimum:
            	return -1999;
          	case FaceError.invalidHandle:
            	return -1001;
          	case FaceError.invalidParameter:
            	return -1002;
          	case FaceError.invalidPixelFormat:
            	return -1004;
          	case FaceError.invalidTemplateFormat:
            	return -1005;
          	case FaceError.invalidLandmarks:
            	return -1006;
          	case FaceError.iodTooSmall:
            	return -1007;
          	case FaceError.invalidModelPath:
            	return -1008;
          	case FaceError.invalidImageSize:
            	return -1010;
          	case FaceError.unloadedModel:
            	return -1020;
          	case FaceError.inferenceBackendError:
            	return -1040;
          	case FaceError.processingUnitUnavailable:
            	return -1041;
          	case FaceError.indexerAlreadyInitialized:
            	return -1050;
          	case FaceError.indexerIdAlreadyExists:
            	return -1051;
          	case FaceError.indexerInvalidTemplateData:
            	return -1052;
          	case FaceError.indexerFull:
            	return -1053;
          	case FaceError.indexerIdNotFound:
            	return -1054;
          	case FaceError.indexerInvalidIndexFile:
            	return -1055;
          	case FaceError.functionNotImplemented:
            	return -1056;
    	}
      	}