Exception: Katello::HttpErrors::WrappedError

Inherits:
StandardError
  • Object
show all
Defined in:
app/controllers/katello/http_errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, original = $ERROR_INFO) ⇒ WrappedError

Returns a new instance of WrappedError.



16
17
18
19
# File 'app/controllers/katello/http_errors.rb', line 16

def initialize(msg, original = $ERROR_INFO)
  super(msg)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original.



14
15
16
# File 'app/controllers/katello/http_errors.rb', line 14

def original
  @original
end