Exception: Biomart::BiomartError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/biomart.rb

Overview

This is the base Biomart error/exception class. Rescue it if you want to catch any exceptions that this code might raise.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ BiomartError

Returns a new instance of BiomartError.



16
17
18
19
# File 'lib/biomart.rb', line 16

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



14
15
16
# File 'lib/biomart.rb', line 14

def data
  @data
end