Exception: Util::VSAC::VSNotFoundError

Inherits:
VSACError
  • Object
show all
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

Instance Method Summary collapse

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

#oidObject (readonly)

Returns the value of attribute oid.



12
13
14
# File 'lib/util/vsac_api.rb', line 12

def oid
  @oid
end