Exception: Hospodar::Builder::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hospodar/builder/error.rb,
lib/hospodar/builder.rb

Overview

General error that has step ID object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, id) ⇒ Error

Returns a new instance of Error.



9
10
11
12
# File 'lib/hospodar/builder/error.rb', line 9

def initialize(msg, id)
  super(msg)
  @step_id = id
end

Instance Attribute Details

#step_idObject (readonly)

Returns the value of attribute step_id.



7
8
9
# File 'lib/hospodar/builder/error.rb', line 7

def step_id
  @step_id
end