package datakit-server
Module Vfs.ErrorSource
Error codes.
The type for generic errors.
Source
type t = | Noent(*No such file or directory.
*)| Isdir(*The entry is a directory.
*)| Notdir(*The entry is not a directory.
*)| Read_only_file(*The file is read-only.
*)| Perm(*The operation is not permitted.
*)| Other of err(*Generic error function.
*)
The type for FS errors.
Other ~errno descr is Error { errno; descr }. errno is 0 if not set.
negative_offset o is an error saying that o is negative.
offset_too_large ~offset len is an error saying that offset is beyond the end of the file (len).