Exception: Rets::NoRecordsFound
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rets::NoRecordsFound
- Defined in:
- lib/rets.rb
Constant Summary collapse
- ERROR_CODE =
20201
Instance Attribute Summary collapse
-
#reply_text ⇒ Object
readonly
Returns the value of attribute reply_text.
Instance Method Summary collapse
-
#initialize(reply_text) ⇒ NoRecordsFound
constructor
A new instance of NoRecordsFound.
Constructor Details
#initialize(reply_text) ⇒ NoRecordsFound
Returns a new instance of NoRecordsFound.
26 27 28 29 |
# File 'lib/rets.rb', line 26 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.
24 25 26 |
# File 'lib/rets.rb', line 24 def reply_text @reply_text end |