GeneralRoadElementsError
public enum GeneralRoadElementsError : Error, Equatable
Errors associated with the construction of GeneralRoadElements.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Invalid number of lanes in the driving direction. The value should be in the range
NumberOfLanes.Constants.numberOfLanesRange.Declaration
Swift
case invalidNumberOfLanesInDrivingDirection -
Invalid number of lanes in the opposite direction. The value should be in the range
NumberOfLanes.Constants.numberOfLanesRange.Declaration
Swift
case invalidNumberOfLanesInOppositeDirection -
Invalid value for the functional road class. The value should be in the range
GeneralRoadElements.Constants.functionalRoadClassRange.Declaration
Swift
case invalidFunctionalRoadClass
GeneralRoadElementsError Enumeration Reference