Exception: Saklient::Errors::HttpBadGatewayException
- Inherits:
-
HttpException
- Object
- StandardError
- HttpException
- Saklient::Errors::HttpBadGatewayException
- Defined in:
- lib/saklient/errors/http_bad_gateway_exception.rb
Overview
HTTPエラー. Bad Gateway.
Instance Attribute Summary
Attributes inherited from HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ HttpBadGatewayException
constructor
A new instance of HttpBadGatewayException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ HttpBadGatewayException
Returns a new instance of HttpBadGatewayException.
16 17 18 |
# File 'lib/saklient/errors/http_bad_gateway_exception.rb', line 16 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? 'HTTPエラー。Bad Gateway.' : ) end |