Exception: FriendlyShipping::Services::RL::ApiError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/friendly_shipping/services/rl/api_error.rb

Overview

Raised when an R+L API error is returned.

Instance Attribute Summary

Attributes inherited from ApiError

#cause

Instance Method Summary collapse

Constructor Details

#initialize(cause) ⇒ ApiError

Returns a new instance of ApiError.

Parameters:

  • cause (RestClient::Exception)

    the cause of the error



9
10
11
# File 'lib/friendly_shipping/services/rl/api_error.rb', line 9

def initialize(cause)
  super(cause, parse_message(cause))
end