NavigationError

public enum NavigationError : Error
extension NavigationError: LocalizedError

Error that navigation could raise

  • Error raised when actual position of user is unknown

    Declaration

    Swift

    case positionUnknown
  • Error raised when actual location of user is outdoor, navigation is only available indoor

    Declaration

    Swift

    case outdoorOrigin
  • Error raised when user request navigation without select a valid destination

    Declaration

    Swift

    case noDestinationSelected
  • Error raised when SITUM could not calculate route to destination due an internal error

    Declaration

    Swift

    case unableToComputeRoute
  • Error raised when there is no route available between user position and destination

    Declaration

    Swift

    case noAvailableRoute
  • Error raised when a user goes outside the current route and is located out of building

    Declaration

    Swift

    case outsideBuilding
  • Error raised when a problem with location service happened. Contains the inner location error

    Declaration

    Swift

    case locationError(Error?)
  • Description of error

    Declaration

    Swift

    public var errorDescription: String? { get }
  • Code of error

    Declaration

    Swift

    public var _code: Int { get }