Exception: Bio::BaseSpace::UndefinedParameterError

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

Overview

Raised when a parameter in a call was not defined.

Instance Method Summary collapse

Constructor Details

#initialize(parameter) ⇒ UndefinedParameterError

Create a new instance of the error.

parameter

Name of the parameter that is not defined.



22
23
24
# File 'lib/basespace/api/basespace_error.rb', line 22

def initialize(parameter)
  super("The following parameter must be defined: #{parameter}")
end