Skip to contents

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".