ValueAssistantError

public enum ValueAssistantError : Error

This error is thrown when a ValueAssistant receives the wrong type.

  • Represents an error that an incorrect type was supplied.

    Declaration

    Swift

    case typeRequirement(String)
  • Prints an error statement.

    Declaration

    Swift

    @MainActor
    public func printError(fromFunction function: String)

    Parameters

    function

    The function where the error occurred.