Exception: Rspider::ConfParseError
- Inherits:
-
Exception
- Object
- Exception
- Rspider::ConfParseError
- Defined in:
- lib/rspider/ConfParser.rb
Instance Attribute Summary collapse
-
#errno ⇒ Object
readonly
Returns the value of attribute errno.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(errno, error) ⇒ ConfParseError
constructor
A new instance of ConfParseError.
- #to_s ⇒ Object
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
#errno ⇒ Object (readonly)
Returns the value of attribute errno.
19 20 21 |
# File 'lib/rspider/ConfParser.rb', line 19 def errno @errno end |
#error ⇒ Object (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_s ⇒ Object
25 26 27 |
# File 'lib/rspider/ConfParser.rb', line 25 def to_s @error end |