Exception: Biomart::BiomartError
- Inherits:
-
StandardError
- Object
- StandardError
- Biomart::BiomartError
- 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.
Direct Known Subclasses
ArgumentError, AttributeError, DatasetError, FilterError, HTTPError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ BiomartError
constructor
A new instance of BiomartError.
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
#data ⇒ Object (readonly)
Returns the value of attribute data.
14 15 16 |
# File 'lib/biomart.rb', line 14 def data @data end |