Exception: HTTPX::Plugins::ContentDigest::ValidationError
Overview
Error raised on response “content-digest” header validation.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
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 ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/httpx/plugins/content_digest.rb', line 16 def response @response end |