Exception: Ruact::HtmlConverterError

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

Overview

Raised by ‘Ruact::HtmlConverter.convert` when its input is not a `String` (the only accepted shape). Catches the most common upstream bug — an ERB template, partial, or render path that returned `nil` or a non-String value — at the boundary, before Nokogiri is invoked, so the failing file:line and the expected shape are visible at the top of the backtrace instead of buried under a Nokogiri stack. See Story 7.4 for the rationale.