Exception: MiniRegistry::MiniRegistryError

Inherits:
StandardError
  • Object
show all
Defined in:
ext/oci8/oraconf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_name, code) ⇒ MiniRegistryError

Returns a new instance of MiniRegistryError.



38
39
40
41
# File 'ext/oci8/oraconf.rb', line 38

def initialize(api_name, code)
  @api_name = api_name
  @code = code
end

Instance Attribute Details

#api_nameObject (readonly)

Returns the value of attribute api_name.



36
37
38
# File 'ext/oci8/oraconf.rb', line 36

def api_name
  @api_name
end

#codeObject (readonly)

Returns the value of attribute code.



37
38
39
# File 'ext/oci8/oraconf.rb', line 37

def code
  @code
end