class Bio::Fastq::Error

Basic exception class of all Bio::Fastq::Error:XXXX. Bio::Fastq internal use only.

Public Class Methods

new(error_message = nil) click to toggle source

Creates a new object. If error message is not given, default error message is stored. If error message is a Integer value, it is treated as the position inside the sequence or the quality, and default error message including the position is stored.


  • (optional) error_message: error message (see above)

Calls superclass method
# File lib/bio/db/fastq.rb, line 209
def initialize(error_message = nil)
  if !error_message or error_message.kind_of?(Integer) then
    error_message = default_message(error_message)