Exception: GovDelivery::TMS::Errors::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/govdelivery/tms/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ServerError

Returns a new instance of ServerError.



21
22
23
# File 'lib/govdelivery/tms/errors.rb', line 21

def initialize(response)
  super("TMS client encountered a server error: #{response.status} \n#{response.body}")
end