Exception: LoogiHttp::ServerError
- Defined in:
- lib/loogi_http/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ServerError
constructor
A new instance of ServerError.
- #message ⇒ Object
Constructor Details
#initialize(error) ⇒ ServerError
Returns a new instance of ServerError.
7 8 9 10 |
# File 'lib/loogi_http/error.rb', line 7 def initialize(error) @error = error set_backtrace(error.backtrace) end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
5 6 7 |
# File 'lib/loogi_http/error.rb', line 5 def error @error end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/loogi_http/error.rb', line 12 def error. end |