Method: Lookbook::Error#initialize
- Defined in:
- lib/lookbook/support/errors/error.rb
#initialize(message = nil, scope: nil, original: nil, status: nil, detail: nil, file_path: nil, source: nil, line_number: nil, **kwargs) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/lookbook/support/errors/error.rb', line 5 def initialize( = nil, scope: nil, original: nil, status: nil, detail: nil, file_path: nil, source: nil, line_number: nil, **kwargs) @scope = scope @original = original @message = @status = status @detail = detail @file_path = file_path @source = source @line_number = line_number super() end |