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.



37
38
39
40
# File 'lib/util/vsac_api.rb', line 37

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

Instance Attribute Details

#oidObject (readonly)

Returns the value of attribute oid.



36
37
38
# File 'lib/util/vsac_api.rb', line 36

def oid
  @oid
end