Validates trigger redaction options at codegen time (Mix / TriggerSQL).
Excludes and masks are mutually exclusive per column: a column cannot appear
in both :exclude and :mask.
Summary
Functions
Default JSON-safe mask token baked into generated SQL.
Validates :exclude, :mask, and optional :mask_placeholder.
Validates a mask placeholder string for static SQL embedding.
Functions
Default JSON-safe mask token baked into generated SQL.
Validates :exclude, :mask, and optional :mask_placeholder.
Raises ArgumentError if exclude and mask intersect (message mentions both
"exclude" and "mask" and lists an offending column).
Validates a mask placeholder string for static SQL embedding.
Raises if empty, longer than 200, or contains ASCII
control characters (message contains "placeholder").