Module Biocaml_fasta.Error (.ml)

module Error: sig .. end
Errors. All errors generated by any function in the Fasta module are defined here. Type t is the union of all errors, and subsets of this are defined as needed to specify precise return types for various functions.



type string_to_raw_item = [ `empty_line of Biocaml_pos.t
| `incomplete_input of Biocaml_pos.t * string list * string option
| `malformed_partial_sequence of string ]
Errors raised when converting a string to a raw_item.
type t = [ `empty_line of Biocaml_pos.t
| `incomplete_input of Biocaml_pos.t * string list * string option
| `malformed_partial_sequence of string
| `unnamed_char_seq of Biocaml_fasta.char_seq
| `unnamed_int_seq of Biocaml_fasta.int_seq ]
Union of all errors.

S-expressions

val sexp_of_string_to_raw_item : string_to_raw_item -> Sexplib.Sexp.t
val string_to_raw_item_of_sexp : Sexplib.Sexp.t -> string_to_raw_item
val string_to_raw_item_of_sexp__ : Sexplib.Sexp.t -> string_to_raw_item
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val t_of_sexp__ : Sexplib.Sexp.t -> t