Exception: Bio::BaseSpace::WrongFiletypeError

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

Overview

Raised when an unsupported or unsuitable file type is encountered.

Instance Method Summary collapse

Constructor Details

#initialize(filetype) ⇒ WrongFiletypeError

Create a new instance of the error.

filetype

Filetype that was intended to be used.



53
54
55
# File 'lib/basespace/api/basespace_error.rb', line 53

def initialize(filetype)
  super("This data request is not available for file #{filetype}")
end