package delimited_parsing

  1. Overview
  2. Docs
type 'a t
val raise : _ t

The default. Raise with additional context.

val skip : _ t

Skip the bad row

val create : (line_number:int -> int Core.String.Map.t -> string Delimited_kernel__.Append_only_buffer.t -> exn -> [ `Skip | `Yield of 'a | `Raise of exn | `Fallback of 'a t ]) -> 'a t

Do something else!

  • `Skip: skip the line. Same as skip above.
  • `Yield: return the given value for this row.
  • `Raise: raise the given exception
  • `Fallback: invoke the given handler instead
OCaml

Innovation. Community. Security.