Parse the input file representation of a bus direction
| input |
the string representation of the bus direction |
|
the bus direction |
| ParseError.INVALID_INTEGER |
the input is not a valid number |
| ParseError.OUT_OF_RANGE |
the input is outside the range of bus directions |