Class | Bio::Fastq::Error |
In: |
lib/bio/db/fastq.rb
|
Parent: | RuntimeError |
Basic exception class of all Bio::Fastq::Error:XXXX. Bio::Fastq internal use only.
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:
# File lib/bio/db/fastq.rb, line 209 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