Sha256: 5b634f63c79326a44a9875ff090a098a178857fd6de814beb5b80eff1a2d496e
Contents?: true
Size: 317 Bytes
Versions: 11
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true module ThemeCheck class HtmlParsingError < HtmlCheck severity :error category :html doc docs_url(__FILE__) def on_parse_error(exception, template) add_offense("HTML in this template can not be parsed: #{exception.message}", template: template) end end end
Version data entries
11 entries across 11 versions & 1 rubygems