IndoorRoutingError

public enum IndoorRoutingError : UInt32, CaseIterable, Codable

Specifies possible errors that may result from the calculation of a indoor route.

  • Default

    Declaration

    Swift

    case noError = 0
  • No network.

    Declaration

    Swift

    case noNetwork = 1
  • No route found.

    Declaration

    Swift

    case noRouteFound
  • Could not match origin.

    Declaration

    Swift

    case couldNotMatchOrigin
  • Could not match destination.

    Declaration

    Swift

    case couldNotMatchDestination
  • Venue ID not found.

    Declaration

    Swift

    case mapNotFound
  • Response output not as expected.

    Declaration

    Swift

    case parsingError
  • Unknown error.

    Declaration

    Swift

    case unknownError
  • Bad request.

    Declaration

    Swift

    case badRequest = 400
  • Unauthorized access.

    Declaration

    Swift

    case unauthorizedAccess = 401
  • Forbidden.

    Declaration

    Swift

    case forbidden = 403
  • Resource unavailable

    Declaration

    Swift

    case notFound = 404
  • Too many requests.

    Declaration

    Swift

    case tooManyRequests = 429
  • Internal server error.

    Declaration

    Swift

    case internalServerError = 500
  • Bad Gateway.

    Declaration

    Swift

    case badGateway = 502
  • Service unavailable.

    Declaration

    Swift

    case serviceUnavailable = 503
  • Declaration

    Swift

    public static var allCases: [IndoorRoutingError] { get }
  • Key

    A type that can be used as a key for encoding and decoding.

    See more

    Declaration

    Swift

    public enum Key : CodingKey
  • The error which is thrown if initialisation with decoder has failed

    See more

    Declaration

    Swift

    public enum CodingError : Error
  • Creates a new instance by decoding from the given decoder

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encodes this value into the given encoder

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws