Exception: Assistant::EmailToolBuilder::BodyV4RuleError
- Inherits:
-
StandardError
- Object
- StandardError
- Assistant::EmailToolBuilder::BodyV4RuleError
- Defined in:
- app/services/assistant/email_tool_builder.rb
Overview
Raised by apply_body! when the final body_v4 trips an :error-severity
Email::ContentRules rule (the canonical case: hand-built layouts in
the editor source). The create/update/edit tools rescue StandardError and
surface the message to the model so it self-corrects.