Exception: Expeditor::DependencyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/expeditor/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(e) ⇒ DependencyError

Returns a new instance of DependencyError.



10
11
12
# File 'lib/expeditor/errors.rb', line 10

def initialize(e)
  @error = e
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



9
10
11
# File 'lib/expeditor/errors.rb', line 9

def error
  @error
end

Instance Method Details

#messageObject



14
15
16
# File 'lib/expeditor/errors.rb', line 14

def message
  @error.message
end