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.



10
11
12
13
# File 'ext/oci8/oraconf.rb', line 10

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.



8
9
10
# File 'ext/oci8/oraconf.rb', line 8

def api_name
  @api_name
end

#codeObject (readonly)

Returns the value of attribute code.



9
10
11
# File 'ext/oci8/oraconf.rb', line 9

def code
  @code
end