Class: CookieJar::InvalidCookieError

### Home Classes Methods

### In Files

- lib/cookiejar/cookie_validation.rb

### Parent

StandardError

### Methods

- ::new

### Class/Module Index

Quicksearch

- CookieJar
- CookieJar::Cookie
- CookieJar::CookieValidation
- CookieJar::CookieValidation::PATTERN
- CookieJar::InvalidCookieError
- CookieJar::Jar

No matching classes.

# CookieJar::InvalidCookieError

Represents a set of cookie validation errors

### Attributes

messages[R]

Array<String>

  the specific validation issues encountered

### Public Class Methods

new(message) click to toggle source

Create a new instance @param [String, Array<String>] the validation issue(s) encountered

    # File lib/cookiejar/cookie_validation.rb, line 11
    def initialize message
     if message.is_a? Array
       @messages = message
       message = message.join ', '
     else
       @messages = [message]
     end
     super message
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.