Exception: Textus::BadFrontmatter
- Defined in:
- lib/textus/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(path, m, hint: nil) ⇒ BadFrontmatter
constructor
A new instance of BadFrontmatter.
Methods inherited from Error
#details, #exit_code, #hint, #to_envelope
Constructor Details
#initialize(path, m, hint: nil) ⇒ BadFrontmatter
Returns a new instance of BadFrontmatter.
54 55 56 57 |
# File 'lib/textus/errors.rb', line 54 def initialize(path, m, hint: nil) hint ||= default_hint_for(path, m) super("bad_frontmatter", m, details: { "path" => path }, hint: hint) end |