NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
error.h File Reference

Go to the source code of this file.

Enumerations

enum class  Error {
  cannotRetrieveHomeDir = 010 , nodesFileDoesNotExist = 100 , emptyNodesFile = 110 , wrongNodesFileStructure = 120 ,
  linksFileDoesNotExist = 130 , emptyLinksFile = 140 , wrongLinksFileStructure = 150 , wrongLinksLength = 160 ,
  cannotFindNode = 170 , trainsFileDoesNotExist = 200 , emptyTrainsFile = 210 , wrongTrainsFileStructure = 220 ,
  otherTrainsFileErrors = 230 , trainPathCannotBeNull = 240 , trainDoesNotHaveLocos = 250 , trainHasWrongLocos = 260 ,
  trainHasWrongCars = 270 , trainInvalidGradesCurvature = 280 , trainsFileEmpty = 290 , trainWrongCarType = 300 ,
  trainWrongLocoType = 310 , cannotOpenTrajectoryFile = 410 , cannotOpenSummaryFile = 420 , CouldNotOpenFile = 500
}
 Enumerates the possible error values. More...
 

Enumeration Type Documentation

◆ Error

enum class Error
strong

Enumerates the possible error values.

Enumerator
cannotRetrieveHomeDir 
nodesFileDoesNotExist 
emptyNodesFile 
wrongNodesFileStructure 
linksFileDoesNotExist 
emptyLinksFile 
wrongLinksFileStructure 
wrongLinksLength 
cannotFindNode 
trainsFileDoesNotExist 
emptyTrainsFile 
wrongTrainsFileStructure 
otherTrainsFileErrors 
trainPathCannotBeNull 
trainDoesNotHaveLocos 
trainHasWrongLocos 
trainHasWrongCars 
trainInvalidGradesCurvature 
trainsFileEmpty 
trainWrongCarType 
trainWrongLocoType 
cannotOpenTrajectoryFile 
cannotOpenSummaryFile 
CouldNotOpenFile