class Namira::Errors::RedirectError

A RedirectError

@!attribute [r] message

@return [String] Will contain information about the error.

Attributes

count[R]

The number of redirects that occured @return [Integer]

location[R]

The location the redirect is pointing to @return [String]

Public Class Methods

new(msg, location, count) click to toggle source

Creates a new instance

Calls superclass method
# File lib/namira/errors/redirect_error.rb, line 21
def initialize(msg, location, count)
  super(msg)
  @location = location
  @count = count
end