Exception: GovDelivery::TMS::Errors::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- GovDelivery::TMS::Errors::ServerError
- Defined in:
- lib/govdelivery/tms/errors.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(response) ⇒ ServerError
Returns a new instance of ServerError.
20 21 22 |
# File 'lib/govdelivery/tms/errors.rb', line 20 def initialize(response) super("TMS client encountered a server error: #{response.status} \n#{response.body}") end |