class Bio::BaseSpace::IllegalParameterError

Raised when a parameter was set to an invalid value.

Public Class Methods

new(value, legal) click to toggle source

Create a new instance of the error.

value

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

legal

Listing of valid values.

Calls superclass method
# File lib/basespace/api/basespace_error.rb, line 43
def initialize(value, legal)
  super("#{value} is not well-defined, legal options are #{legal}")
end