Exception: Lookbook::PreviewTemplateError

Inherits:
Error
  • Object
show all
Defined in:
lib/lookbook/support/errors/preview_template_error.rb

Instance Attribute Summary

Attributes inherited from Error

#detail, #original, #scope, #source, #status

Instance Method Summary collapse

Methods inherited from Error

#backtrace, #backtrace_lines, #file_path, #line_number, #message, #relative_file_path, #type

Constructor Details

#initialize(msg = nil, scope: "preview", **kwargs) ⇒ PreviewTemplateError

Returns a new instance of PreviewTemplateError.



3
4
5
# File 'lib/lookbook/support/errors/preview_template_error.rb', line 3

def initialize(msg = nil, scope: "preview", **kwargs)
  super(msg, scope: scope, **kwargs)
end