Exception: Bio::BaseSpace::IllegalParameterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/basespace/api/basespace_error.rb

Overview

Raised when a parameter was set to an invalid value.

Instance Method Summary collapse

Constructor Details

#initialize(value, legal) ⇒ IllegalParameterError

Create a new instance of the error.

value

Value that was passed and which is of an invalid value.

legal

Listing of valid values.



43
44
45
# File 'lib/basespace/api/basespace_error.rb', line 43

def initialize(value, legal)
  super("#{value} is not well-defined, legal options are #{legal}")
end