libSBML C++ API  5.20.4
DistribSBMLError.h File Reference

Definition of the DistribSBMLError class. More...

This graph shows which files directly or indirectly include this file:

Enumerations

enum  DistribSBMLErrorCode_t {
  DistribUnknown = 1510100 ,
  DistribNSUndeclared = 1510101 ,
  DistribElementNotInNs = 1510102 ,
  DistribMathnumber = 1510201 ,
  DistribDuplicateComponentId = 1510301 ,
  DistribIdSyntaxRule = 1510302 ,
  DistribUnitsRule = 1510501 ,
  DistribAttributeRequiredMissing = 1520101 ,
  DistribAttributeRequiredMustBeBoolean = 1520102 ,
  DistribAttributeRequiredMustHaveValue = 1520103 ,
  DistribSBaseAllowedElements = 1520201 ,
  DistribSBaseLOUncertaintiesAllowedCoreElements = 1520202 ,
  DistribSBaseLOUncertaintiesAllowedCoreAttributes = 1520203 ,
  DistribUncertParameterAllowedCoreAttributes = 1520301 ,
  DistribUncertParameterAllowedCoreElements = 1520302 ,
  DistribUncertParameterAllowedAttributes = 1520303 ,
  DistribUncertParameterAllowedElements = 1520304 ,
  DistribUncertParameterValueMustBeDouble = 1520305 ,
  DistribUncertParameterVarMustBeSBase = 1520306 ,
  DistribUncertParameterUnitsMustBeUnitSId = 1520307 ,
  DistribUncertParameterTypeMustBeUncertTypeEnum = 1520308 ,
  DistribUncertParameterDefinitionURLMustBeString = 1520309 ,
  DistribUncertParameterLOUncertParametersAllowedCoreElements = 1520310 ,
  DistribUncertParameterLOUncertParametersAllowedCoreAttributes = 1520311 ,
  DistribUncertaintyAllowedCoreAttributes = 1520401 ,
  DistribUncertaintyAllowedCoreElements = 1520402 ,
  DistribUncertaintyAllowedElements = 1520403 ,
  DistribUncertSpanAllowedCoreAttributes = 1520501 ,
  DistribUncertSpanAllowedCoreElements = 1520502 ,
  DistribUncertSpanAllowedAttributes = 1520503 ,
  DistribUncertSpanVarLowerMustBeSBase = 1520504 ,
  DistribUncertSpanValueLowerMustBeDouble = 1520505 ,
  DistribUncertSpanVarUpperMustBeSBase = 1520506 ,
  DistribUncertSpanValueUpperMustBeDouble = 1520507 ,
  DistribDistribBaseAllowedCoreAttributes = 1520601 ,
  DistribDistribBaseAllowedCoreElements = 1520602 ,
  DistribDistribBaseAllowedAttributes = 1520603 ,
  DistribDistribBaseNameMustBeString = 1520604
}
 Codes for all SBML-level errors and warnings from the 'distrib' package. More...
 

Detailed Description

Definition of the DistribSBMLError class.

Author
SBMLTeam

Enumeration Type Documentation

◆ DistribSBMLErrorCode_t

Codes for all SBML-level errors and warnings from the 'distrib' package.

These are distinguished from other SBML error codes by having a number between 1500000 and 1599999.

Calling programs may wish to check which enumeration a given SBMLError object's error identifier is actually from:
  • 0010000 to 0099999: SBMLErrorCode_t (a problem with the SBML core specification)
  • 1000000 to 1099999: CompSBMLErrorCode_t (a problem with the SBML Level 3 Hierarchical Model Composition package specification).
  • 2000000 to 2099999: FbcSBMLErrorCode_t (a problem with the SBML Level 3 Flux Balance Constraints package specification).
  • 3000000 to 3099999: QualSBMLErrorCode_t (a problem with the SBML Level 3 Qualitative Models package specification).
  • 6000000 to 6099999: LayoutSBMLErrorCode_t (a problem with the SBML Level 3 Layout package specification).
Other error code ranges are reserved for other packages.
Enumerator
DistribUnknown 
DistribNSUndeclared 
DistribElementNotInNs 
DistribMathnumber 
DistribDuplicateComponentId 
DistribIdSyntaxRule 
DistribUnitsRule 
DistribAttributeRequiredMissing 
DistribAttributeRequiredMustBeBoolean 
DistribAttributeRequiredMustHaveValue 
DistribSBaseAllowedElements 
DistribSBaseLOUncertaintiesAllowedCoreElements 
DistribSBaseLOUncertaintiesAllowedCoreAttributes 
DistribUncertParameterAllowedCoreAttributes 
DistribUncertParameterAllowedCoreElements 
DistribUncertParameterAllowedAttributes 
DistribUncertParameterAllowedElements 
DistribUncertParameterValueMustBeDouble 
DistribUncertParameterVarMustBeSBase 
DistribUncertParameterUnitsMustBeUnitSId 
DistribUncertParameterTypeMustBeUncertTypeEnum 
DistribUncertParameterDefinitionURLMustBeString 
DistribUncertParameterLOUncertParametersAllowedCoreElements 
DistribUncertParameterLOUncertParametersAllowedCoreAttributes 
DistribUncertaintyAllowedCoreAttributes 
DistribUncertaintyAllowedCoreElements 
DistribUncertaintyAllowedElements 
DistribUncertSpanAllowedCoreAttributes 
DistribUncertSpanAllowedCoreElements 
DistribUncertSpanAllowedAttributes 
DistribUncertSpanVarLowerMustBeSBase 
DistribUncertSpanValueLowerMustBeDouble 
DistribUncertSpanVarUpperMustBeSBase 
DistribUncertSpanValueUpperMustBeDouble 
DistribDistribBaseAllowedCoreAttributes 
DistribDistribBaseAllowedCoreElements 
DistribDistribBaseAllowedAttributes 
DistribDistribBaseNameMustBeString