Exception: Rets::InvalidRequest
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rets::InvalidRequest
- Defined in:
- lib/rets.rb
Direct Known Subclasses
AdditionalLoginNotPermitted, BrokerCodeRequired, ClientAuthenticationFailed, ExecutionTimeout, InsecurePassword, InvalidIdentifier, InvalidIdentifierRequested, InvalidKey, InvalidKeyRequest, InvalidMetadataType, InvalidParameter, InvalidQuerySyntax, InvalidResource, InvalidResourceRequested, InvalidSelect, InvalidType, InvalidUserName, MaximumRecordsExceeded, MetadataRequestTimeout, MetadataRequestTooLarge, MetadataResourceUnavailable, MetadataUnavailable, MiscellaneousSearchError, MiscellaneousUpdateError, NoMetadataFound, NotLoggedIn, ObjectUnavailable, QueryTooComplex, RequestTimeout, RequestTooLarge, RequestedDTDVersionUnavailable, ResourceUnavailable, SameAsPreviousPassword, ServerLoginError, ServerTemporarilyDisabled, SystemError, TooManyOutstandingMetadataRequests, TooManyOutstandingQueries, TooManyOutstandingRequests, UnableToSaveRecord, UnauthorizedMetadataRetrieval, UnauthorizedQuery, UnauthorizedRetrieval, UnknownQueryField, UnsupportedMetadataMimeType, UnsupportedMimeType, UserAgentAuthenticationRequired, WarningResponseGivenForWarningNotRequired, WarningResponseNotGivenForAllWarnings, ZeroBalance
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#reply_text ⇒ Object
readonly
Returns the value of attribute reply_text.
Instance Method Summary collapse
-
#initialize(error_code, reply_text) ⇒ InvalidRequest
constructor
A new instance of InvalidRequest.
Constructor Details
#initialize(error_code, reply_text) ⇒ InvalidRequest
Returns a new instance of InvalidRequest.
44 45 46 47 48 |
# File 'lib/rets.rb', line 44 def initialize(error_code, reply_text) @error_code = error_code @reply_text = reply_text super("Got error code #{error_code} (#{reply_text})") end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
43 44 45 |
# File 'lib/rets.rb', line 43 def error_code @error_code end |
#reply_text ⇒ Object (readonly)
Returns the value of attribute reply_text.
43 44 45 |
# File 'lib/rets.rb', line 43 def reply_text @reply_text end |