URLRoutingResult

public enum URLRoutingResult : Equatable

Result type for functions that attempt to perform actions via URLs.

  • The URL routing was resolved and the action performed, reporting success

    Declaration

    Swift

    case success
  • The URL routing was resolved and the action failed

    Declaration

    Swift

    case failure(error: Error?)
  • The URL routing failed, and did not resolve to a declared route

    Declaration

    Swift

    case noMappingFound
  • The Routes feature is disabled so the routing was not performed

    Declaration

    Swift

    case featureDisabled
  • Declaration

    Swift

    public static func == (lhs: URLRoutingResult, rhs: URLRoutingResult) -> Bool