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