Exception: Util::VSAC::VSNotFoundError
- Defined in:
- lib/util/vsac_api.rb
Overview
Error represnting a not found response from the API. Includes OID for reporting to user.
Instance Attribute Summary collapse
-
#oid ⇒ Object
readonly
Returns the value of attribute oid.
Instance Method Summary collapse
-
#initialize(oid) ⇒ VSNotFoundError
constructor
A new instance of VSNotFoundError.
Constructor Details
#initialize(oid) ⇒ VSNotFoundError
Returns a new instance of VSNotFoundError.
13 14 15 16 |
# File 'lib/util/vsac_api.rb', line 13 def initialize(oid) super("Value Set (#{oid}) was not found.") @oid = oid end |
Instance Attribute Details
#oid ⇒ Object (readonly)
Returns the value of attribute oid.
12 13 14 |
# File 'lib/util/vsac_api.rb', line 12 def oid @oid end |