Exception: HTTPX::Plugins::ContentDigest::ValidationError
- Defined in:
- lib/httpx/plugins/content_digest.rb,
sig/plugins/content_digest.rbs
Overview
Error raised on response "content-digest" header validation.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Response
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message, response) ⇒ ValidationError
Returns a new instance of ValidationError.
18 19 20 21 |
# File 'lib/httpx/plugins/content_digest.rb', line 18 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Response (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/httpx/plugins/content_digest.rb', line 16 def response @response end |