Exception: Synthra::Errors::SecurityError

Inherits:
Error
  • Object
show all
Defined in:
lib/synthra/errors.rb

Overview

Raised when a DSL feature needs a dangerous opt-in that is disabled by default — e.g. the formula type's eval. Default-safe: surfaces a clear error instead of silently executing tenant-supplied Ruby. Inherits from Error (not GenerationError) so a generic rescue in a type generator cannot swallow it back into a silent value.

Constant Summary collapse

ERROR_CODE =
"SECURITY_ERROR"