Exception: Bio::BaseSpace::IllegalParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- Bio::BaseSpace::IllegalParameterError
- Defined in:
- lib/basespace/api/basespace_error.rb
Overview
Raised when a parameter was set to an invalid value.
Instance Method Summary collapse
-
#initialize(value, legal) ⇒ IllegalParameterError
constructor
Create a new instance of the error.
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 |