Exception: CookieJar::InvalidCookieError
- Inherits:
-
StandardError
- Object
- StandardError
- CookieJar::InvalidCookieError
- Defined in:
- lib/cookiejar/cookie_validation.rb
Overview
Represents all cookie validation errors
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidCookieError
constructor
A new instance of InvalidCookieError.
Constructor Details
#initialize(message) ⇒ InvalidCookieError
Returns a new instance of InvalidCookieError.
6 7 8 9 10 11 12 |
# File 'lib/cookiejar/cookie_validation.rb', line 6 def initialize if .is_a? Array @messages = = .join ', ' end super() end |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
5 6 7 |
# File 'lib/cookiejar/cookie_validation.rb', line 5 def @messages end |