Exception: Util::VSAC::VSEmptyError

Inherits:
VSACError
  • Object
show all
Defined in:
lib/util/vsac_api.rb

Overview

Error representing a response from the API that had no concepts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oid) ⇒ VSEmptyError

Returns a new instance of VSEmptyError.



31
32
33
34
# File 'lib/util/vsac_api.rb', line 31

def initialize(oid)
  super("Value Set (#{oid}) is empty.")
  @oid = oid
end

Instance Attribute Details

#oidObject (readonly)

Returns the value of attribute oid.



30
31
32
# File 'lib/util/vsac_api.rb', line 30

def oid
  @oid
end