RoutingError

public class RoutingError : LocalizedError, Decodable

Describes any errors that occur during routing.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws

Public

  • One of the error codes as described in RoutingErrorCode

    Declaration

    Swift

    public let code: RoutingErrorCode
  • Contains an error description field with a human readable error message.

    Declaration

    Swift

    public let message: String
  • Declaration

    Swift

    public var errorDescription: String? { get }