RoadObjectMatcherError
public struct RoadObjectMatcherError : LocalizedError
An error that occures during road object matching.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.-
Description of the error.
Declaration
Swift
public let description: String
-
Identifier of the road object for which matching is failed.
Declaration
Swift
public let roadObjectIdentifier: RoadObject.Identifier
-
Declaration
Swift
public var errorDescription: String? { get }
-
Initializes a new
RoadObjectMatcherError
.Declaration
Swift
public init(description: String, roadObjectIdentifier: RoadObject.Identifier)
Parameters
description
Description of the error.
roadObjectIdentifier
Identifier of the road object for which matching is failed.