Exception: Rspider::ConfParseError

Inherits:
Exception
  • Object
show all
Defined in:
lib/rspider/ConfParser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errno, error) ⇒ ConfParseError

Returns a new instance of ConfParseError.



20
21
22
23
24
# File 'lib/rspider/ConfParser.rb', line 20

def initialize(errno,error)
	@errno=errno
	@error=error	
	super error
end

Instance Attribute Details

#errnoObject (readonly)

Returns the value of attribute errno.



19
20
21
# File 'lib/rspider/ConfParser.rb', line 19

def errno
  @errno
end

#errorObject (readonly)

Returns the value of attribute error.



19
20
21
# File 'lib/rspider/ConfParser.rb', line 19

def error
  @error
end

Instance Method Details

#to_sObject



25
26
27
# File 'lib/rspider/ConfParser.rb', line 25

def to_s
	@error
end