handle_violation: Handle violations based on the specified action

View source: R/type.frame.R

handle_violationR Documentation

Handle violations based on the specified action

Description

Handles violations by either throwing an error, issuing a warning, or doing nothing, depending on the specified action.

Usage

handle_violation(message, action)

Arguments

message

The error message to be handled.

action

The action to take: "error", "warning", or "silent".


interface documentation built on Sept. 11, 2024, 8:59 p.m.