Exception: Bio::BaseSpace::UnknownParameterError

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

Overview

Raised when a parameter was provided that is unknown to the implementation.

Instance Method Summary collapse

Constructor Details

#initialize(parameter) ⇒ UnknownParameterError

Create a new instance of the error.

parameter

Name of the parameter that is not recognized.



32
33
34
# File 'lib/basespace/api/basespace_error.rb', line 32

def initialize(parameter)
  super("#{parameter} is not regcognized as a parameter for this call")
end