Change data dir error messages to use present tense
This commit is contained in:
parent
44364295ee
commit
f4937fd8ef
@ -53,13 +53,13 @@ let () =
|
|||||||
register_error_kind
|
register_error_kind
|
||||||
`Permanent
|
`Permanent
|
||||||
~id: "noDataDirVersionFile"
|
~id: "noDataDirVersionFile"
|
||||||
~title: "Data directory version file did not exist"
|
~title: "Data directory version file does not exist"
|
||||||
~description: "Data directory version file did not exist"
|
~description: "Data directory version file does not exist"
|
||||||
Data_encoding.(obj1 (req "versionPath" string))
|
Data_encoding.(obj1 (req "versionPath" string))
|
||||||
~pp:(fun ppf path ->
|
~pp:(fun ppf path ->
|
||||||
Format.fprintf ppf
|
Format.fprintf ppf
|
||||||
"Expected to find data directory version file at '%s', \
|
"Expected to find data directory version file at '%s', \
|
||||||
\ but the file did not exist."
|
\ but the file does not exist."
|
||||||
path)
|
path)
|
||||||
(function No_data_dir_version_file path -> Some path | _ -> None)
|
(function No_data_dir_version_file path -> Some path | _ -> None)
|
||||||
(fun path -> No_data_dir_version_file path)
|
(fun path -> No_data_dir_version_file path)
|
||||||
|
Loading…
Reference in New Issue
Block a user