Exception: HTTY::NoSetCookieHeaderError
- Inherits:
-
StandardError
- Object
- StandardError
- HTTY::NoSetCookieHeaderError
- Defined in:
- lib/htty/no_set_cookie_header_error.rb
Overview
Indicates that the Set-Cookie header was missing from HTTY::Request#response.
Instance Method Summary collapse
-
#initialize ⇒ NoSetCookieHeaderError
constructor
A new instance of NoSetCookieHeaderError.
Constructor Details
#initialize ⇒ NoSetCookieHeaderError
Returns a new instance of NoSetCookieHeaderError.
7 8 9 10 |
# File 'lib/htty/no_set_cookie_header_error.rb', line 7 def initialize super "response does not have a '#{HTTY::Response::COOKIES_HEADER_NAME}' " + 'header' end |