Exception: Katello::HttpErrors::WrappedError
- Inherits:
-
StandardError
- Object
- StandardError
- Katello::HttpErrors::WrappedError
- Defined in:
- app/controllers/katello/http_errors.rb
Direct Known Subclasses
BadRequest, Conflict, Forbidden, InternalError, NotFound, ServiceUnavailable, Unauthorized, UnprocessableEntity
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(msg, original = $ERROR_INFO) ⇒ WrappedError
constructor
A new instance of WrappedError.
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
#original ⇒ Object (readonly)
Returns the value of attribute original.
14 15 16 |
# File 'app/controllers/katello/http_errors.rb', line 14 def original @original end |