Exception: RightScale::HttpExceptions::RequestFailed

Inherits:
RightScale::HttpException show all
Defined in:
lib/right_agent/http_exceptions.rb

Overview

Exception when request failed with an error code that is not managed here

Instance Attribute Summary

Attributes inherited from RightScale::HttpException

#http_body, #http_code, #response

Instance Method Summary collapse

Methods inherited from RightScale::HttpException

#initialize, #inspect

Constructor Details

This class inherits a constructor from RightScale::HttpException

Instance Method Details

#messageObject



53
54
55
# File 'lib/right_agent/http_exceptions.rb', line 53

def message
  "HTTP status code #{http_code}"
end

#to_sObject



49
50
51
# File 'lib/right_agent/http_exceptions.rb', line 49

def to_s
  message
end