Module Biocaml_fastq.Error (.ml)

module Error: 
sig

All errors generated by any function in the Fastq module are defined here.


type fasta_pair_to_fastq = [ `cannot_convert_to_phred_score of int list
| `sequence_names_mismatch of string * string ]
type parsing = [ `incomplete_input of Biocaml_pos.t * string list * string option
| `sequence_and_qualities_do_not_match of Biocaml_pos.t * string * string
| `wrong_comment_line of Biocaml_pos.t * string
| `wrong_name_line of Biocaml_pos.t * string ]
The parsing errors.
type t = [ `cannot_convert_to_phred_score of int list
| `incomplete_input of Biocaml_pos.t * string list * string option
| `sequence_and_qualities_do_not_match of Biocaml_pos.t * string * string
| `sequence_names_mismatch of string * string
| `wrong_comment_line of Biocaml_pos.t * string
| `wrong_name_line of Biocaml_pos.t * string ]
Union of all possible errors.
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val t_to_string : t -> string
Transform error to a human-readable string.
end