編輯

共用方式為


Common Data Model Error and Warning Codes

An enum class containing the error and warning codes.

public enum CdmLogCode
{
    None,
    ErrAdapterNotFound,
    ErrDocAdapterNotFound,
    ErrDocEntityDocSavingFailure,
    ErrDocEntityReplacementFailure,
    ErrDocImportSavingFailure,
    ErrDocIsNotFolder,
    ErrDocPartitionSchemaSavingFailure,
    ErrDocSubManifestSavingFailure,
    ErrDocSymbolNotFound,
    ErrDocWrtDocNotfound,
    ErrEntityCreationFailed,
    ErrFetchingFileMetadataNull,
    ErrIndexFailed,
    ErrInvalidCast,
    ErrInvalidPath,
    ErrObjectWithoutOwnerFound,
    ErrPartitionFileMetadataFailure,
    ErrPartitionFileModTimeFailure,
    ErrPathIsDuplicate,
    ErrPathNullObjectPath,
    ErrPersistAdapterNotFoundForNamespace,
    ErrPersistAdapterWriteFailure,
    ErrPersistCardinalityPropMissing,
    ErrPersistCdmEntityFetchError,
    ErrPersistClassMissing,
    ErrPersistCsvProcessingError,
    ErrPersistDeserializeError,
    ErrPersistDocConversionFailure,
    ErrPersistModelJsonDocConversionError,
    ErrPersistDocNameLoadFailure,
    ErrPersistEntityPathNotFound,
    ErrPersistEntityAttrUnsupported,
    ErrPersistEntityDeclarationMissing,
    ErrPersistModelJsonEntityParsingError,
    ErrPersistFailure,
    ErrPersistFilePersistError,
    ErrPersistFilePersistFailed,
    ErrPersistFileReadFailure,
    ErrPersistSaveLinkedDocs,
    ErrPersistFileWriteFailure,
    ErrPersistModelJsonInvalidEntityPath,
    ErrPersistModelJsonInvalidExtensionTrait,
    ErrPersistJsonAttrContextConversionError,
    ErrPersistJsonDatatypeConversionError,
    ErrPersistJsonDatatypeRefConversionError,
    ErrPersistJsonImportConversionError,
    ErrPersistJsonObjectRefConversionError,
    ErrPersistModelJsonEntityAttrError,
    ErrPersistModelJsonModelIdDuplication,
    ErrPersistModelJsonModelIdNotFound,
    ErrPersistModelJsonToAttrConversionFailure,
    ErrPersistModelJsonFromAttrConversionFailure,
    ErrPersistModelJsonEntityConversionError,
    ErrPersistModelJsonEntityDeclarationConversionError,
    ErrPersistModelJsonEntityDeclarationConversionFailure,
    ErrPersistModelJsonEntityRefConversionError,
    ErrPersistModelJsonRelConversionError,
    ErrPersistNullDocName,
    ErrPersistObjectNotFound,
    ErrPersistProjInvalidOpsType,
    ErrPersistProjUnsupportedProp,
    ErrPersistSymsAdlsAdapterMissing,
    ErrPersistSymsAdlsAdapterNotMounted,
    ErrPersistSymsAttrConversionFailure,
    ErrPersistSymsAttrConversionError,
    ErrPersistSymsEntityFetchError,
    ErrPersistSymsEntityPathNull,
    ErrPersistSymsPartitionNotSupported,
    ErrPersistSymsEntityDeclConversionFailure,
    ErrPersistSymsEntityDeclConversionException,
    ErrPersistSymsMultipleOrZeroTableDefinition,
    ErrPersistSymsIncompatibleFileToType,
    ErrPersistSymsInvalidDbPropObject,
    ErrPersistSymsInvalidDbObject,
    ErrPersistSymsStorageSourceTraitError,
    ErrPersistSymsTableFormatTypeNotSupported,
    ErrPersistSymsTableInvalidDataLocation,
    ErrPersistSymsTableMissingDataLocation,
    ErrPersistSymsUnknownDataFormat,
    ErrPersistSymsUnsupportedCdmConversion,
    ErrPersistSymsUnsupportedTableFormat,
    ErrPersistSymsUnsupportedManifest,
    ErrPersistUnsupportedJsonSemVer,
    ErrPersistInvalidMaxCardinality,
    ErrPersistInvalidMinCardinality,
    ErrPersistPartitionLocMissing,
    ErrProjFailedToResolve,
    ErrProjRefAttrStateFailure,
    ErrProjInvalidAttrState,
    ErrProjRenameFormatIsNotSet,
    ErrProjSourceError,
    ErrProjStringError,
    ErrProjUnsupportedAttrGroups,
    ErrProjUnsupportedSource,
    ErrRelMaxResolvedAttrReached,
    ErrResolutionFailure,
    ErrResolveEntityFailure,
    ErrResolveNewEntityNameNotSet,
    ErrResolveFolderNotFound,
    ErrResolveManifestFailed,
    ErrResolveReferenceFailure,
    ErrStorageAdapterNotFound,
    ErrStorageCdmStandardsMissing,
    ErrStorageFolderNotFound,
    ErrStorageInvalidPathFormat,
    ErrStorageMissingJsonConfig,
    ErrStorageMissingNamespace,
    ErrStorageMissingTypeJsonConfig,
    ErrStorageNamespaceMismatch,
    ErrStorageNamespaceNotRegistered,
    ErrStorageNullAdapter,
    ErrStorageNullAdapterConfig,
    ErrStorageNullCorpusPath,
    ErrStorageNullNamespace,
    ErrStorageObjectNodeCastFailed,
    ErrSymbolNotFound,
    ErrTraitArgumentMissing,
    ErrTraitAttrFetchError,
    ErrTraitResolutionFailure,
    ErrUnexpectedDataType,
    ErrUnexpectedType,
    ErrUnrecognizedDataType,
    ErrUnsupportedRef,
    ErrUnsupportedType,
    ErrValdnIntegrityCheckFailure,
    ErrValdnInvalidCorpusPath,
    ErrValdnInvalidDoc,
    ErrValdnInvalidMaxCardinality,
    ErrValdnInvalidMinCardinality,
    ErrValdnInvalidExpression,
    ErrValdnMissingDoc,
    ErrValdnMissingLanguageTag,
    WarnPartitionGlobAndRegexPresent,
    WarnDeprecatedResolutionGuidance,
    WarnDocChangesDiscarded,
    WarnDocImportNotLoaded,
    WarnPartitionFileFetchFailed,
    WarnLinkEntIdentArgsNotSupported,
    WarnPartitionInvalidArguments,
    WarnPersistCustomExtNotSupported,
    WarnPersistFileModTimeFailure,
    WarnPersistFileReadFailure,
    WarnPersistJsonSemVerInvalidFormat,
    WarnPersistJsonSemVerMandatory,
    WarnPersistModelJsonRelReadFailed, 
    WarnPersistRelUndefinedSourceEntity,
    WarnPersistRelUndefinedTargetEntity,
    WarnPersistSymsEntityMissing,
    WarnPersistSymsEntitySkipped,
    WarnPersistSymsProjNotExist,
    WarnPersistUnsupportedJsonSemVer,
    WarnPersistEntityMissing,
    WarnPersistEnumNotFound,
    WarnPersistPartitionNameNull,
    WarnProjCreateForeignKeyTraits,
    WarnProjFKWithoutSourceEntity, 
    WarnProjAddArtifactAttrNotSupported,
    WarnProjRenameAttrNotSupported,
    WarnResolveAttrFailed,
    WarnResolveEntityFailed,
    WarnResolveImportFailed,
    WarnResolveObjectFailed,
    WarnResolveReferenceFailure,
    WarnStorageInvalidAdapterPath,
    WarnStorageExpectedPathPrefix,
    WarnStorageRemoveAdapterFailed,
    WarnAnnotationTypeNotSupported,
    WarnValdnEntityNotDefined,
    WarnValdnMaxOrdinalTooHigh,
    WarnValdnPrimaryKeyMissing,
    WarnValdnOrdinalStartEndOrder,
    WarnTelemetryIngestionFailed,
    WarnUnMountCdmNamespace
}