package core_extended

  1. Overview
  2. Docs

Module Read.On_invalid_rowSource

Sourcetype 'a t
Sourceval raise : _ t

The default. Raise.

Sourceval skip : _ t

Skip the bad row

Sourceval create : (int Core_kernel.String.Map.t -> string Delimited_kernel__.Append_only_buffer.t -> exn -> [ `Skip | `Yield of 'a | `Raise of exn ]) -> '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