lib/parse_fasta.rb in parse_fasta-1.8.0 vs lib/parse_fasta.rb in parse_fasta-1.8.1

- old
+ new

@@ -22,12 +22,19 @@ require 'parse_fasta/seq_file' require 'parse_fasta/sequence' require 'parse_fasta/quality' module ParseFasta + + class Error < StandardError + end + # Error raised when FASTA file is malformed class DataFormatError < IOError def message "Data format error -- check input file" end + end + + class SequenceFormatError < Error end end