response_type_error: Generate Error Message for Invalid Response Type

View source: R/00_typeErrorMessage.R

response_type_errorR Documentation

Generate Error Message for Invalid Response Type

Description

Internal function to generate standardized error messages when a function is called with an incompatible response type.

Usage

response_type_error(response_type, fun_name)

Arguments

response_type

character. One of "binary", "rated", "ordinal", or "nominal"

fun_name

character. Name of the calling function

Value

Never returns; always stops with an error message


exametrika documentation built on Aug. 21, 2025, 5:27 p.m.