Class: ActiveShipping::ResponseContentError
- Inherits:
-
Error
- Object
- ActiveUtils::ActiveUtilsError
- Error
- ActiveShipping::ResponseContentError
- Defined in:
- lib/active_shipping/errors.rb
Instance Method Summary collapse
-
#initialize(exception, content_body = nil) ⇒ ResponseContentError
constructor
A new instance of ResponseContentError.
Constructor Details
#initialize(exception, content_body = nil) ⇒ ResponseContentError
Returns a new instance of ResponseContentError.
19 20 21 |
# File 'lib/active_shipping/errors.rb', line 19 def initialize(exception, content_body = nil) super([exception., content_body].compact.join(" \n\n")) end |