Module Async_extra.File_tail.Error

type t =
| File_replaced

(** File_replaced occurs if the inode of the file changed and the file tail was configured with ignore_inode_change = false. *)

| File_shrank

(** File_shrank occurs if stat detects that the length of the file decreases from one call to the next. *)

| Read_failed of exn

(** Read_failed occurs if some aspect of the open-seek-read-close used to get data fails. *)

| Stat_failed of exn

(** Stat_failed occurs if stat fails. *)

Errors are written to the pipe, and are nonrecoverable. After an error, the pipe will always be closed.

include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val to_string_hum : t ‑> string