DestinationsError

public enum DestinationsError : Error, Hashable

An enum representing Destinations errors that can be thrown.

  • An error type sent when a tab is not found.

    Declaration

    Swift

    case tabNotFound(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type sent when an interactor is not found.

    Declaration

    Swift

    case interactorNotFound(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type sent when the child Destination of a GroupedDestinationable class was not found.

    Declaration

    Swift

    case childDestinationNotFound(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type representing an unsupported action type for an interactor request.

    Declaration

    Swift

    case unsupportedInteractorActionType(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type denoting that an appropriate InterfaceAction was not found.

    Declaration

    Swift

    case missingInterfaceAction(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type denoting that an assistant for performing an InterfaceAction is missing.

    Declaration

    Swift

    case missingInterfaceActionAssistant(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type denoting that a column type for the UIKit or SwiftUI split view interface is undefined.

    Declaration

    Swift

    case undefinedSplitViewColumnType(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type generated when a duplicate user interaction type is attempted to be used to add a InterfaceAction to a Destination.

    Declaration

    Swift

    case duplicateUserInteractionTypeUsed(message: String)

    Parameters

    message

    A message to be sent with the error.

  • An error type generated when an incompatible type was passed as a parameter, typically an incorrect sub-protocol.

    Declaration

    Swift

    case incompatibleType(message: String)

    Parameters

    message

    A message to be sent with the error.