Skip to contents

This function throws an application error of the given type, with the provided message and any additional data.

Usage

stop_app_error(type, message, data = NULL, call = NULL)

Arguments

type

The type of the error. This should be a character string.

message

The error message. This should be a character string.

data

Additional data associated with the error.

Value

Never returns, because it signals an error.

Examples

if (FALSE) { # \dontrun{
stop_app_error("my_error", "This is an error!", data.frame(x = 1:5))
} # }