Class: ActiveShipping::ResponseContentError

Inherits:
Error
  • Object
show all
Defined in:
lib/active_shipping/errors.rb

Instance Method Summary collapse

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.message, content_body].compact.join(" \n\n"))
end