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.
Arguments:
-
(optional) error_message: error message (see above)
Calls superclass method
# File lib/bio/db/fastq.rb 209 def initialize(error_message = nil) 210 if !error_message or error_message.kind_of?(Integer) then 211 error_message = default_message(error_message) 212 end 213 super(error_message) 214 end