Exception: Rets::NoObjectFound
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rets::NoObjectFound
- Defined in:
- lib/rets.rb
Constant Summary collapse
- ERROR_CODE =
20403
Instance Attribute Summary collapse
-
#reply_text ⇒ Object
readonly
Returns the value of attribute reply_text.
Instance Method Summary collapse
-
#initialize(reply_text) ⇒ NoObjectFound
constructor
A new instance of NoObjectFound.
Constructor Details
#initialize(reply_text) ⇒ NoObjectFound
Returns a new instance of NoObjectFound.
36 37 38 39 |
# File 'lib/rets.rb', line 36 def initialize(reply_text) @reply_text = reply_text super("Got error code #{ERROR_CODE} (#{reply_text})") end |
Instance Attribute Details
#reply_text ⇒ Object (readonly)
Returns the value of attribute reply_text.
34 35 36 |
# File 'lib/rets.rb', line 34 def reply_text @reply_text end |